Unverified Commit 5004c8c5 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

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. 
parent e057c263
on: on:
schedule:
# run every day at 23:15
- cron: '15 23 * * *'
workflow_dispatch: workflow_dispatch:
inputs: inputs:
releaseType: releaseType:
...@@ -38,7 +42,7 @@ jobs: ...@@ -38,7 +42,7 @@ jobs:
# canary next-swc binaries in the monorepo # canary next-swc binaries in the monorepo
NEXT_SKIP_NATIVE_POSTINSTALL: 1 NEXT_SKIP_NATIVE_POSTINSTALL: 1
environment: release-${{ github.event.inputs.releaseType }} environment: release-${{ github.event.inputs.releaseType || 'canary' }}
steps: steps:
- name: Setup node - name: Setup node
uses: actions/setup-node@v3 uses: actions/setup-node@v3
...@@ -73,6 +77,6 @@ jobs: ...@@ -73,6 +77,6 @@ jobs:
- run: pnpm run build - 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: env:
RELEASE_BOT_GITHUB_TOKEN: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }} RELEASE_BOT_GITHUB_TOKEN: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment