We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 508d5db + b1773ea commit 3e899d4Copy full SHA for 3e899d4
.github/workflows/docs.yml
@@ -11,7 +11,7 @@ permissions:
11
id-token: write
12
13
jobs:
14
- docs:
+ build-docs:
15
runs-on: ubuntu-latest
16
17
steps:
@@ -41,6 +41,20 @@ jobs:
41
with:
42
path: docs/build/html
43
44
+ deploy-pages:
45
+ if: github.ref == 'refs/heads/main'
46
+ needs: build-docs
47
+ runs-on: ubuntu-latest
48
+
49
+ permissions:
50
+ pages: write
51
+ id-token: write
52
53
+ environment:
54
+ name: github-pages
55
+ url: ${{ steps.deployment.outputs.page_url }}$
56
57
+ steps:
58
- name: Deploy to GitHub Pages
- if: github.ref == 'refs/heads/main'
- uses: actions/deploy-pages@v4
59
+ id: deployment
60
+ uses: actions/deploy-pages@v4
0 commit comments