Switch release workflow from push-based to scheduled/manual triggers
This commit is contained in:
parent
35ea59f439
commit
4df60db2fd
1 changed files with 6 additions and 4 deletions
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
|
|
@ -1,9 +1,11 @@
|
|||
name: Release
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
schedule:
|
||||
# Run every day at 9am UTC
|
||||
- cron: "0 9 * * *"
|
||||
workflow_dispatch:
|
||||
# Allow manual triggering
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
|
@ -44,4 +46,4 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
run: npx semantic-release
|
||||
run: npx semantic-release
|
||||
Loading…
Add table
Reference in a new issue