Deploy nightly #342
This file contains hidden or 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 nightly | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' # run at midnight UTC | |
| workflow_dispatch: | |
| jobs: | |
| nightly: | |
| name: Deploy nightly | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| with: | |
| sparse-checkout: .github | |
| - name: Install dependencies | |
| run: pip install PyGithub | |
| - name: Deploy nightly | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: python ".github/workflows/deploy-nightly.py" |