Trigger canary release nightly (#56758)
Follow-up to https://github.com/vercel/next.js/pull/56755 this updates to trigger at least one canary nightly before we run our E2E deploy tests.
This commit is contained in:
parent
e057c26329
commit
5004c8c50c
1 changed files with 6 additions and 2 deletions
8
.github/workflows/trigger_release.yml
vendored
8
.github/workflows/trigger_release.yml
vendored
|
@ -1,4 +1,8 @@
|
|||
on:
|
||||
schedule:
|
||||
# run every day at 23:15
|
||||
- cron: '15 23 * * *'
|
||||
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
releaseType:
|
||||
|
@ -38,7 +42,7 @@ jobs:
|
|||
# canary next-swc binaries in the monorepo
|
||||
NEXT_SKIP_NATIVE_POSTINSTALL: 1
|
||||
|
||||
environment: release-${{ github.event.inputs.releaseType }}
|
||||
environment: release-${{ github.event.inputs.releaseType || 'canary' }}
|
||||
steps:
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v3
|
||||
|
@ -73,6 +77,6 @@ jobs:
|
|||
|
||||
- run: pnpm run build
|
||||
|
||||
- run: node ./scripts/start-release.js --release-type ${{ github.event.inputs.releaseType }} --semver-type ${{ github.event.inputs.semverType }}
|
||||
- run: node ./scripts/start-release.js --release-type ${{ github.event.inputs.releaseType || 'canary' }} --semver-type ${{ github.event.inputs.semverType }}
|
||||
env:
|
||||
RELEASE_BOT_GITHUB_TOKEN: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
|
||||
|
|
Loading…
Reference in a new issue