mirror of
https://github.com/zealdocs/zeal.git
synced 2026-08-29 16:40:51 +08:00
ci(github): publish snap weekly
This commit is contained in:
@@ -15,9 +15,8 @@ on:
|
||||
- candidate
|
||||
- beta
|
||||
- edge
|
||||
# TODO: Add schedule trigger for edge channel.
|
||||
# schedule:
|
||||
# - cron: '0 0 * * 1'
|
||||
schedule:
|
||||
- cron: '0 0 * * 2'
|
||||
|
||||
permissions: {}
|
||||
|
||||
@@ -55,4 +54,4 @@ jobs:
|
||||
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
|
||||
with:
|
||||
snap: ${{ steps.build.outputs.snap }}
|
||||
release: ${{ inputs.channel || 'stable' }}
|
||||
release: ${{ inputs.channel || (github.event_name == 'schedule' && 'edge') || 'stable' }}
|
||||
|
||||
Reference in New Issue
Block a user