File tree 2 files changed +43
-1
lines changed
2 files changed +43
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish
2
+ on :
3
+ push :
4
+ branches : [source]
5
+ workflow_dispatch :
6
+
7
+ permissions :
8
+ contents : read
9
+ pages : write
10
+ id-token : write
11
+
12
+ # Allow only one concurrent deployment, skipping runs queued between the run
13
+ # in-progress and latest queued. However, do NOT cancel in-progress runs as we
14
+ # want to allow these production deployments to complete.
15
+ concurrency :
16
+ group : " pages"
17
+ cancel-in-progress : false
18
+
19
+ jobs :
20
+ publish :
21
+ name : Publish website
22
+ runs-on : ubuntu-latest
23
+ steps :
24
+ - uses : actions/checkout@v4
25
+ - uses : actions/setup-python@v5
26
+ - name : Install dependencies
27
+ run : |
28
+ python -m venv ./.venv
29
+ source ./.venv/bin/activate
30
+ pip install -U pip poetry
31
+ poetry install
32
+ poetry lock --check
33
+ - name : Build
34
+ run : |
35
+ ./.venv/bin/mkdocs build
36
+ - uses : actions/upload-pages-artifact@v3
37
+ with :
38
+ path : " site"
39
+ - name : Deploy to GitHub Pages
40
+ id : deployment
41
+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1
1
site_name : Bryan Tan's Website
2
- remote_branch : site
2
+ remote_branch : source
3
+ site_url : https://technius.net
3
4
nav :
4
5
- Home : index.md
5
6
- Research : research.md
You can’t perform that action at this time.
0 commit comments