We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf0bbd1 commit 5b924d0Copy full SHA for 5b924d0
1 file changed
.github/workflows/build-site.yml
@@ -0,0 +1,26 @@
1
+name: Build static site
2
+
3
+on:
4
+ push:
5
+ workflow_dispatch:
6
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v3
12
+ - uses: actions/setup-python@v4
13
+ with:
14
+ python-version: '3.x'
15
+ - name: Install dependencies
16
+ run: |
17
+ pip install pelican markdown
18
+ - name: Generate static HTML
19
+ run: pelican content -s publishconf.py
20
+ - name: Ensure CNAME file
21
+ run: echo 'pedanticjournal.com' > docs/CNAME
22
+ - name: Commit and push changes
23
+ uses: EndBug/add-and-commit@v9
24
25
+ add: 'docs'
26
+ message: 'Automated site build'
0 commit comments