Skip to content

Deploy weekly prerelease #74

Deploy weekly prerelease

Deploy weekly prerelease #74

Workflow file for this run

---
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}}