File tree Expand file tree Collapse file tree 3 files changed +34
-93
lines changed Expand file tree Collapse file tree 3 files changed +34
-93
lines changed Original file line number Diff line number Diff line change 1+ name : GitHub Pages
2+
3+ on :
4+ push :
5+ branches :
6+ - website
7+ pull_request :
8+
9+ jobs :
10+ deploy :
11+ runs-on : ubuntu-20.04
12+ permissions :
13+ contents : write
14+ concurrency :
15+ group : ${{ github.workflow }}-${{ github.ref }}
16+ steps :
17+ - uses : actions/checkout@v3
18+
19+ - name : Setup Python
20+ uses : actions/setup-python@v3
21+ with :
22+ python-version : " 3.10"
23+
24+ - run : python3 -m pip install -r requirements.txt
25+ - run : git submodule update --init
26+ - run : python3 -m pelican content -vvv -o output -s pelicanconf.py
27+
28+ - name : Deploy
29+ uses : peaceiris/actions-gh-pages@v3
30+ if : ${{ github.ref == 'refs/heads/website' }}
31+ with :
32+ github_token : ${{ secrets.GITHUB_TOKEN }}
33+ publish_dir : ./output
34+ publish_branch : master
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments