File tree 1 file changed +9
-11
lines changed
1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,11 @@ name: github-pages-master
3
3
on :
4
4
schedule :
5
5
- cron : ' 55 13 * * *'
6
+ # Above time reflects UTC -> PST conversion
7
+ # At 6:55 am (PST/PDT) every day, run this CI job
6
8
7
9
workflow_dispatch :
8
- # Revise to: '55 13 * * *'
9
- # the latter time reflects UTC -> PST conversion
10
- # At 6:55 am (PST) every day, run this CI job
11
-
10
+
12
11
jobs :
13
12
pages :
14
13
name : Build GitHub Pages
@@ -21,17 +20,16 @@ jobs:
21
20
python-version : " 3.8"
22
21
23
22
- uses : actions/checkout@v3
24
- name : Check out app/dev # checks out to the top-level dir
25
- with :
23
+ name : Check out app/dev # checks out app/dev in top-level dir
24
+ with :
26
25
ref : ' refs/heads/app/dev'
27
26
28
27
- uses : actions/checkout@v3
29
- name : Check out master
30
- with :
28
+ name : Check out master # checks out master in subdirectory
29
+ with :
31
30
ref : ' refs/heads/master'
32
- path : master # subdirectory
31
+ path : master
33
32
34
- # TODO: change to 'python3 app/dev/src/db.py master' per actions/checkout@3
35
33
- name : Build JSON DB
36
34
run : |
37
35
python3 -m pip install -r src/requirements.txt
57
55
wget https://raw.githubusercontent.com/oneapi-src/oneAPI-samples/master/Tools/GPU-Occupancy-Calculator/index.html
58
56
59
57
- name : Push docs
60
- if : ${{ github.ref == 'refs/heads/master' }}
58
+ if : ${{ github.ref == 'refs/heads/master' }} # only if this workflow is run from the master branch, push docs
61
59
env :
62
60
GITHUB_USER : ${{ github.actor }}
63
61
GITHUB_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments