MojoLlama
Archived Mojo/MAX quantizer and serving research repository (read-only history)
Brought by drakestapleton
MojoLlama / .github / workflows / pages.yml
| 1 | name: Deploy GitHub Pages |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: [main, dev] |
| 6 | paths: |
| 7 | - 'www/**' |
| 8 | workflow_dispatch: |
| 9 | |
| 10 | permissions: |
| 11 | contents: read |
| 12 | pages: write |
| 13 | id-token: write |
| 14 | |
| 15 | concurrency: |
| 16 | group: pages |
| 17 | cancel-in-progress: true |
| 18 | |
| 19 | jobs: |
| 20 | build-and-deploy: |
| 21 | runs-on: ubuntu-24.04 |
| 22 | environment: |
| 23 | name: github-pages |
| 24 | url: ${{ steps.deployment.outputs.page_url }} |
| 25 | steps: |
| 26 | - name: Checkout |
| 27 | uses: actions/checkout@v4 |
| 28 | with: |
| 29 | submodules: true |
| 30 | fetch-depth: 0 |
| 31 | |
| 32 | - name: Setup Pages |
| 33 | uses: actions/configure-pages@v5 |
| 34 | |
| 35 | - name: Upload artifact |
| 36 | uses: actions/upload-pages-artifact@v3 |
| 37 | with: |
| 38 | path: www |
| 39 | |
| 40 | - name: Deploy to GitHub Pages |
| 41 | id: deployment |
| 42 | uses: actions/deploy-pages@v4 |