diff --git a/examples/v7-astro-template/.github/workflows/edgio.yml b/examples/v7-astro-template/.github/workflows/edgio.yml index 0018cc94d..6dcabdce0 100644 --- a/examples/v7-astro-template/.github/workflows/edgio.yml +++ b/examples/v7-astro-template/.github/workflows/edgio.yml @@ -10,6 +10,8 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 + with: + node-version: 18 - run: if [ -f yarn.lock ]; then yarn install; else npm ci; fi - run: if [ -f yarn.lock ]; then yarn edgio:deploy -- --token=$EDGIO_DEPLOY_TOKEN; else npm run edgio:deploy -- --token=$EDGIO_DEPLOY_TOKEN; fi env: diff --git a/examples/v7-remix-template/.github/pull_request_template.md b/examples/v7-remix-template/.github/pull_request_template.md new file mode 100644 index 000000000..743eaca4f --- /dev/null +++ b/examples/v7-remix-template/.github/pull_request_template.md @@ -0,0 +1,5 @@ +**NOTICE TO CONTRIBUTORS** + +This repository is not actively monitored and any pull requests made to this repository will be closed/ignored. + +Please submit the pull request to [edgio-docs/edgio-examples](https://github.com/edgio-docs/edgio-examples) instead. diff --git a/examples/v7-remix-template/.github/workflows/edgio.yml b/examples/v7-remix-template/.github/workflows/edgio.yml new file mode 100644 index 000000000..6dcabdce0 --- /dev/null +++ b/examples/v7-remix-template/.github/workflows/edgio.yml @@ -0,0 +1,18 @@ +name: Deploy to Edgio + +on: + workflow_dispatch: + push: + +jobs: + deploy-to-edgio: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 + - run: if [ -f yarn.lock ]; then yarn install; else npm ci; fi + - run: if [ -f yarn.lock ]; then yarn edgio:deploy -- --token=$EDGIO_DEPLOY_TOKEN; else npm run edgio:deploy -- --token=$EDGIO_DEPLOY_TOKEN; fi + env: + EDGIO_DEPLOY_TOKEN: ${{secrets.EDGIO_DEPLOY_TOKEN}} diff --git a/examples/v7-remix/.github/pull_request_template.md b/examples/v7-remix/.github/pull_request_template.md new file mode 100644 index 000000000..743eaca4f --- /dev/null +++ b/examples/v7-remix/.github/pull_request_template.md @@ -0,0 +1,5 @@ +**NOTICE TO CONTRIBUTORS** + +This repository is not actively monitored and any pull requests made to this repository will be closed/ignored. + +Please submit the pull request to [edgio-docs/edgio-examples](https://github.com/edgio-docs/edgio-examples) instead. diff --git a/examples/v7-remix/.github/workflows/edgio.yml b/examples/v7-remix/.github/workflows/edgio.yml new file mode 100644 index 000000000..6dcabdce0 --- /dev/null +++ b/examples/v7-remix/.github/workflows/edgio.yml @@ -0,0 +1,18 @@ +name: Deploy to Edgio + +on: + workflow_dispatch: + push: + +jobs: + deploy-to-edgio: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 + - run: if [ -f yarn.lock ]; then yarn install; else npm ci; fi + - run: if [ -f yarn.lock ]; then yarn edgio:deploy -- --token=$EDGIO_DEPLOY_TOKEN; else npm run edgio:deploy -- --token=$EDGIO_DEPLOY_TOKEN; fi + env: + EDGIO_DEPLOY_TOKEN: ${{secrets.EDGIO_DEPLOY_TOKEN}}