Download .github/workflows/pages.yml from Snapkitty/grisp-shadow-fleet: direct link, hf CLI and curl.
- Browser
- Download file 997 Bytes
-
https://huggingface.co/Snapkitty/grisp-shadow-fleet/resolve/main/.github/workflows/pages.yml
- Command line
-
hf download hf://Snapkitty/grisp-shadow-fleet/.github/workflows/pages.yml
-
curl -L -o pages.yml https://huggingface.co/Snapkitty/grisp-shadow-fleet/resolve/main/.github/workflows/pages.yml
997 Bytes
| name: Deploy GitHub Pages | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: pages | |
| cancel-in-progress: false | |
| jobs: | |
| deploy: | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Test | |
| run: npm test -- --runInBand | |
| - name: Build static universe | |
| run: npm run build | |
| - name: Configure Pages | |
| uses: actions/configure-pages@v5 | |
| - name: Upload artifact | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: _site | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 | |