We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b21832 commit f706c01Copy full SHA for f706c01
.github/workflows/docs.yml
@@ -19,6 +19,8 @@ env:
19
jobs:
20
docs:
21
name: Documentation
22
+ # Only run this job on the main branch
23
+ if: github.ref == 'refs/heads/main'
24
runs-on: ubuntu-latest
25
environment:
26
name: github-pages
@@ -65,16 +67,14 @@ jobs:
65
67
continue-on-error: true
66
68
69
- name: Setup Pages
- if: github.ref == 'refs/heads/main'
70
uses: actions/configure-pages@v4
71
72
+ # Upload the 'github-pages' artifact
73
- name: Upload artifact
74
uses: actions/upload-pages-artifact@v3
75
with:
76
path: ./target/doc
77
78
- name: Deploy to GitHub Pages
79
id: deployment
80
uses: actions/deploy-pages@v4
0 commit comments