Deploy ac17f60ed98f5c7c94bf4f1d4bd49c2065c576a5 to Github Pages #19
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 Github Pages | |
| run-name: Deploy ${{ github.sha }} to Github Pages | |
| concurrency: github-pages | |
| on: | |
| push: | |
| branches: ["**"] | |
| pull_request: | |
| branches: ["**"] | |
| jobs: | |
| create_artifact: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository code | |
| id: checkout | |
| uses: actions/checkout@v4 | |
| - name: Upload static files as artifact | |
| id: deployment | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: ./ | |
| deploy: | |
| needs: create_artifact | |
| permissions: | |
| pages: write | |
| id-token: write | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Deploy to Github Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 |