Merge pull request #80 from mdabir1203/codex/create-tech-explainer-vi… #9
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
| # Deploy static documentation (index.html) to GitHub Pages | |
| name: Deploy Docs to Pages | |
| on: | |
| push: | |
| branches: ["main"] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: "pages" | |
| cancel-in-progress: true | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Configure GitHub Pages | |
| uses: actions/configure-pages@v4 | |
| - name: Upload site artefact | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: "." # repo root contains index.html | |
| - name: Deploy to Pages | |
| uses: actions/deploy-pages@v4 |