File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7+ workflow_dispatch :
8+
9+ permissions :
10+ contents : read
11+ pages : write
12+ id-token : write
13+
14+ concurrency :
15+ group : " pages"
16+ cancel-in-progress : false
717
818jobs :
19+ # Build job
920 build :
1021 runs-on : ubuntu-latest
1122 steps :
12- - uses : actions/checkout@v3
23+ - name : Checkout repository
24+ uses : actions/checkout@v4
1325
1426 - name : Set up Python
1527 uses : actions/setup-python@v4
@@ -20,11 +32,22 @@ jobs:
2032 run : |
2133 pip install .[docs]
2234
23- - name : Build site
24- run : mkdocs build
35+ - name : Build MkDocs site
36+ run : mkdocs build --strict
2537
26- - name : Deploy to GitHub Pages
27- uses : peaceiris/ actions-gh- pages@v6
38+ - name : Upload Pages artifact
39+ uses : actions/upload- pages-artifact@v1
2840 with :
29- github_token : ${{ secrets.GITHUB_TOKEN }}
30- publish_dir : ./site
41+ path : ./site
42+
43+ # Deployment job
44+ deploy :
45+ needs : build
46+ runs-on : ubuntu-latest
47+ environment :
48+ name : github-pages
49+ url : ${{ steps.deployment.outputs.page_url }}
50+ steps :
51+ - name : Deploy to GitHub Pages
52+ id : deployment
53+ uses : actions/deploy-pages@v1
Original file line number Diff line number Diff line change 11site_name : " Secrets Cache"
2- site_url : " https ://rnag.github.io /py-secrets-cache/"
2+ site_url : " http ://ritviknag.com /py-secrets-cache/"
33theme :
44 name : material
55 features :
You can’t perform that action at this time.
0 commit comments