Download .github/workflows/pages.yml from latentcanon/code: direct link, hf CLI and curl.
- Browser
- Download file 496 Bytes
-
https://huggingface.co/latentcanon/code/resolve/main/.github/workflows/pages.yml
- Command line
-
hf download hf://latentcanon/code/.github/workflows/pages.yml
-
curl -L -o pages.yml https://huggingface.co/latentcanon/code/resolve/main/.github/workflows/pages.yml
496 Bytes
| name: Deploy to GitHub Pages | |
| on: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/configure-pages@v4 | |
| - uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: public | |
| - id: deployment | |
| uses: actions/deploy-pages@v4 | |