Skip to content

Commit e97b676

Browse files
committed
Add custom domain
1 parent d88d31c commit e97b676

3 files changed

Lines changed: 30 additions & 6 deletions

File tree

.github/workflows/docs.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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

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)