gabriel / muse public
pages.yml yaml
44 lines 765 B
e74bbfd6 chore: ignore .hypothesis, .pytest_cache, .mypy_cache, .ruff_cache; add… gabriel 8h ago
1 name: Deploy to GitHub Pages
2
3 on:
4 push:
5 branches: [main]
6 workflow_dispatch:
7
8 permissions:
9 contents: read
10 pages: write
11 id-token: write
12
13 concurrency:
14 group: pages
15 cancel-in-progress: false
16
17 env:
18 FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
19
20 jobs:
21 build:
22 name: Build site
23 runs-on: ubuntu-latest
24
25 steps:
26 - uses: actions/checkout@v4
27
28 - name: Upload Pages artifact
29 uses: actions/upload-pages-artifact@v3
30 with:
31 path: artifacts/
32
33 deploy:
34 name: Deploy
35 needs: build
36 runs-on: ubuntu-latest
37 environment:
38 name: github-pages
39 url: ${{ steps.deployment.outputs.page_url }}
40
41 steps:
42 - name: Deploy to GitHub Pages
43 id: deployment
44 uses: actions/deploy-pages@v4