File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Documentation
2+ on :
3+ push :
4+ branches :
5+ - master
6+ permissions :
7+ contents : read
8+ pages : write
9+ id-token : write
10+ jobs :
11+ deploy :
12+ environment :
13+ name : github-pages
14+ url : ${{ steps.deployment.outputs.page_url }}
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/configure-pages@v5
18+ - uses : actions/checkout@v5
19+ - uses : actions/setup-python@v5
20+ with :
21+ python-version : 3.x
22+ - run : pip install mkdocs
23+ - run : mkdocs build --clean
24+ - uses : actions/upload-pages-artifact@v4
25+ with :
26+ path : site
27+ - uses : actions/deploy-pages@v4
28+ id : deployment
Original file line number Diff line number Diff line change 11include Makefile.inc
22
3- .PHONY : serve build deploy artifacts clean-artifacts clean-site clean
3+ .PHONY : serve build artifacts clean-artifacts clean-site clean
44
55# # Serve site locally
66serve : build
@@ -10,10 +10,6 @@ serve: build
1010build : clean-site artifacts
1111 @$(RUN ) mkdocs build
1212
13- # #! Deploy site
14- deploy : clean-site
15- @${RUN} mkdocs gh-deploy
16-
1713# # Generate artifacts for all blogs
1814artifacts :
1915 @$(MAKE ) -C $(BLOG_DIR ) all
Original file line number Diff line number Diff line change 11site_name : Dimitar Dimitrov
2- site_url : https://drdv.github.io /
2+ site_url : https://drdv.net /
33
44plugins :
55 - blog :
You can’t perform that action at this time.
0 commit comments