| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,34 @@ | |||
| 1 | + --- | ||
| 2 | + name: Deploy static content to Pages | ||
| 3 | + | ||
| 4 | + on: | ||
| 5 | + push: | ||
| 6 | + branches: ["main"] | ||
| 7 | + workflow_dispatch: | ||
| 8 | + | ||
| 9 | + permissions: | ||
| 10 | + pages: write | ||
| 11 | + id-token: write | ||
| 12 | + | ||
| 13 | + concurrency: | ||
| 14 | + group: "pages" | ||
| 15 | + cancel-in-progress: false | ||
| 16 | + | ||
| 17 | + jobs: | ||
| 18 | + deploy: | ||
| 19 | + environment: | ||
| 20 | + name: github-pages | ||
| 21 | + url: ${{ steps.deployment.outputs.page_url }} | ||
| 22 | + runs-on: ubuntu-latest | ||
| 23 | + steps: | ||
| 24 | + - name: Setup Pages | ||
| 25 | + run: | | ||
| 26 | + mkdir pages | ||
| 27 | + echo matplotlib.org > pages/CNAME | ||
| 28 | + - name: Upload Pages artifact | ||
| 29 | + uses: actions/upload-pages-artifact@v3 | ||
| 30 | + with: | ||
| 31 | + path: 'pages' | ||
| 32 | + - name: Deploy to GitHub Pages | ||
| 33 | + id: deployment | ||
| 34 | + uses: actions/deploy-pages@v4 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments