Skip to content

Commit 651690a

Browse files
committed
Add custom domain
1 parent d88d31c commit 651690a

3 files changed

Lines changed: 34 additions & 6 deletions

File tree

.github/workflows/docs.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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: |
23+
pip install markdown-exec>=1.11.0
24+
pip install mkdocs-glightbox>=0.5.2
25+
pip install mkdocs-material>=9.6.22
26+
pip install mkdocs-thumbnails>=0.0.10
27+
- run: mkdocs build --clean
28+
- uses: actions/upload-pages-artifact@v4
29+
with:
30+
path: site
31+
- uses: actions/deploy-pages@v4
32+
id: deployment

Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
include 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
66
serve: build
@@ -10,10 +10,6 @@ serve: build
1010
build: 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
1814
artifacts:
1915
@$(MAKE) -C $(BLOG_DIR) all

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
site_name: Dimitar Dimitrov
2-
site_url: https://drdv.github.io/
2+
site_url: https://drdv.net/
33

44
plugins:
55
- blog:

0 commit comments

Comments
 (0)