File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # The AIP working group owns the content of this repository.
2+ * @ aip-dev/aip
Original file line number Diff line number Diff line change 1+ ---
2+ name : publish
3+ on :
4+ push :
5+ branches :
6+ - master
7+ jobs :
8+ github-pages :
9+ runs-on : ubuntu-latest
10+ container : python:3.8
11+ steps :
12+ - uses : actions/checkout@v2
13+ - name : Install system dependencies.
14+ run : apt-get update && apt-get install -y rsync
15+ - name : Install the site generator.
16+ run : pip install -r requirements.txt
17+ - name : Build the static site.
18+ run : aip-site-gen . out
19+ - name : Publish the static site to GitHub Pages.
20+ uses : jamesives/github-pages-deploy-action@releases/v3
21+ with :
22+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
23+ BRANCH : gh-pages
24+ FOLDER : out
Original file line number Diff line number Diff line change 1+ ---
2+ name : test
3+ on :
4+ pull_request :
5+ branches :
6+ - master
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ container : python:3.8
11+ steps :
12+ - uses : actions/checkout@v2
13+ - name : Install the site-generator
14+ run : pip install -r requirements.txt
15+ - name : Build the site.
16+ run : aip-site-gen . /out
You can’t perform that action at this time.
0 commit comments