Spaces:
Paused
Paused
Download OpenReels/.github/workflows/docs.yml from abc1181/perplexica: direct link, hf CLI and curl.
- Browser
- Download file 984 Bytes
-
https://huggingface.co/spaces/abc1181/perplexica/resolve/main/OpenReels/.github/workflows/docs.yml
- Command line
-
hf download hf://spaces/abc1181/perplexica/OpenReels/.github/workflows/docs.yml
-
curl -L -o docs.yml https://huggingface.co/spaces/abc1181/perplexica/resolve/main/OpenReels/.github/workflows/docs.yml
984 Bytes
| name: Deploy Docs | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'docs/**' | |
| - 'src/config/archetypes/**' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: pages | |
| cancel-in-progress: false | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --filter docs... | |
| - name: Build docs | |
| run: cd docs && pnpm build | |
| - name: Upload Pages artifact | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: docs/out | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 | |