Skip to content

Commit 70159f9

Browse files
committed
Update ci.yml
1 parent 002817b commit 70159f9

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,25 @@ jobs:
2525
2626
- run: pip install mkdocs-material
2727
- run: pip install pillow cairosvg
28-
- run: mkdocs gh-deploy --force
28+
29+
- name: Build documentation
30+
run: |
31+
mkdocs build --clean
32+
mkdocs --version
33+
34+
- name: Adjust permissions
35+
run: |
36+
chmod -c -R +rX site/ | while read line; do
37+
echo "::warning title=Invalid file permissions automatically fixed::$line"
38+
done
39+
40+
- name: Upload to GitHub Pages
41+
uses: actions/upload-pages-artifact@v4
42+
with:
43+
path: site
44+
45+
- name: Deploy to GitHub Pages
46+
uses: actions/deploy-pages@v4
2947

3048
- name: Save build cache
3149
uses: actions/cache/save@v4

0 commit comments

Comments
 (0)