Deploy weekly prerelease #67
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Deploy weekly prerelease | |
on: | |
schedule: | |
# At 23:00 on Friday, GitHub actions schedule is in UTC time. | |
- cron: 0 23 * * 5 | |
jobs: | |
weekly-prerelease: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Create weekly prerelease | |
run: | |
gh release create --prerelease --title "Weekly Stable Snapshot $(date +%Y/%m/%d)" weekly-$(date +%Y-%m-%d) | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |