File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -2,17 +2,17 @@ name: github-pages-app-dev
22
33on :
44 push :
5- branches :
5+ branches :
66 - app/dev
77
8- # TRIGGER on PR if changes made to below file-paths.
8+ # TRIGGER on PR if changes made to below file-paths.
99 pull_request :
1010 types :
1111 - opened
1212 - synchronize
1313 branches :
14- - master
15- paths :
14+ - main
15+ paths :
1616 - " src/db.py"
1717 - " src/requirements.txt"
1818 - " src/docs/conf.py"
@@ -45,28 +45,28 @@ jobs:
4545 - uses : actions/checkout@v3
4646 # with:
4747 # path: app/dev
48- # Adding above 2 lines forces pre-pending filepaths below w/ 'app/dev/filepath'
48+ # Adding above 2 lines forces pre-pending filepaths below w/ 'app/dev/filepath'
4949
5050 - uses : actions/checkout@v3
51- name : Check out master
52- with :
53- ref : ' refs/heads/master '
54- path : master
55-
56- # TODO: change to 'python3 app/dev/src/db.py master ' per actions/checkout@3
51+ name : Check out main
52+ with :
53+ ref : ' refs/heads/main
54+ path: main
55+
56+ # TODO: change to ' python3 app/dev/src/db.py main ' per actions/checkout@3
5757 - name : Build JSON DB
5858 run : |
5959 python3 -m pip install -r src/requirements.txt
60- echo master
61- python3 src/db.py master
60+ echo main
61+ python3 src/db.py main
6262
63- - name : Remove JSON pre-prod
64- run : |
63+ - name : Remove JSON pre-prod
64+ run : |
6565 rm -rf src/docs/sample_db_pre.json
6666
6767 - name : Build Sphinx
6868 run : |
69- python3 -m pip install -r src/requirements.txt
69+ python3 -m pip install -r src/requirements.txt
7070 python3 -m sphinx -W -b html src/docs/ src/docs/_build/
7171 echo $PWD
7272 echo ${{ github.ref }}
7777 run : |
7878 mkdir -p ${GPU_OCC_CALC}
7979 cd ${GPU_OCC_CALC}
80- wget https://raw.githubusercontent.com/oneapi-src/oneAPI-samples/master /Tools/GPU-Occupancy-Calculator/index.html
80+ wget https://raw.githubusercontent.com/oneapi-src/oneAPI-samples/main /Tools/GPU-Occupancy-Calculator/index.html
8181
8282 - name : Push docs
8383 if : ${{ github.ref == 'refs/heads/app/dev' }}
You can’t perform that action at this time.
0 commit comments