File tree 1 file changed +17
-17
lines changed
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
2
2
3
3
on :
4
4
push :
5
- branches :
5
+ branches :
6
6
- app/dev
7
7
8
- # TRIGGER on PR if changes made to below file-paths.
8
+ # TRIGGER on PR if changes made to below file-paths.
9
9
pull_request :
10
10
types :
11
11
- opened
12
12
- synchronize
13
13
branches :
14
- - master
15
- paths :
14
+ - main
15
+ paths :
16
16
- " src/db.py"
17
17
- " src/requirements.txt"
18
18
- " src/docs/conf.py"
@@ -45,28 +45,28 @@ jobs:
45
45
- uses : actions/checkout@v3
46
46
# with:
47
47
# 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'
49
49
50
50
- 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
57
57
- name : Build JSON DB
58
58
run : |
59
59
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
62
62
63
- - name : Remove JSON pre-prod
64
- run : |
63
+ - name : Remove JSON pre-prod
64
+ run : |
65
65
rm -rf src/docs/sample_db_pre.json
66
66
67
67
- name : Build Sphinx
68
68
run : |
69
- python3 -m pip install -r src/requirements.txt
69
+ python3 -m pip install -r src/requirements.txt
70
70
python3 -m sphinx -W -b html src/docs/ src/docs/_build/
71
71
echo $PWD
72
72
echo ${{ github.ref }}
77
77
run : |
78
78
mkdir -p ${GPU_OCC_CALC}
79
79
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
81
81
82
82
- name : Push docs
83
83
if : ${{ github.ref == 'refs/heads/app/dev' }}
You can’t perform that action at this time.
0 commit comments