overall waveset viewer update #2 #15
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: Generate wiki [wiki update] | |
| on: | |
| push: | |
| branches: | |
| - 'wiki_gen' | |
| concurrency: | |
| group: "pages" | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: generate-pages | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.14' | |
| - name: Setup venv | |
| run: python -m venv venv; ./venv/bin/pip install -r requirements.txt | |
| - name: Clone ZR repo | |
| run: git clone https://github.com/artvin01/TF2-Zombie-Riot | |
| - name: Parse ZR repo code | |
| run: ./venv/bin/python main.py | |
| - name: Upload static files as artifact | |
| id: deployment | |
| uses: actions/upload-pages-artifact@v4 | |
| with: | |
| path: gh-pages/ | |
| deploy: | |
| name: deploy-pages | |
| runs-on: ubuntu-latest | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| permissions: | |
| pages: write | |
| id-token: write | |
| needs: build | |
| steps: | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v5 |