Skip to content

Commit 89eab97

Browse files
committed
Activates two triggers: on: schedule; on: pull-request in CI job.
- Former establishes cron job to run at 7 am every day - Latter establishes build per update to app file paths included Signed-off-by: michael vincerra <michael.vincerra@intel.com>
1 parent f90cbf2 commit 89eab97

1 file changed

Lines changed: 25 additions & 25 deletions

File tree

.github/workflows/github-pages.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
name: github-pages
22

33
on:
4-
# schedule:
5-
# - cron: '0 7 * * 1-4'
6-
7-
# schedule:
8-
# # https://cron.help/#0/30_*_*_*_*
9-
# - cron: '0 6 * * *'
4+
schedule:
5+
- cron: '0 7 * * *'
6+
# https://cron.help/#0/30_*_*_*_*
7+
108
push:
119
branches:
1210
- app/dev
1311

14-
# pull_request:
15-
# types:
16-
# - opened
17-
# - synchronize
18-
# branches:
19-
# - master
20-
# paths:
21-
# TRIGGER only on pull request that changes these file-paths...
22-
#
23-
# - "src/db.py
24-
# - "src/requirements.txt"
25-
# - "src/docs/conf.py"
26-
# - "src/docs/Makefile"
27-
# - "src/docs/_static/styles.css"
28-
# - "src/docs/_static/intel.css"
29-
# - "src/docs/_static/assets/logo-energyblue-white.svg"
30-
# - "src/docs/_templates/script.js"
31-
# - "src/docs/_templates/base.html"
32-
# - "src/docs/_templates/index.html"
12+
#TRIGGER on pull request if changes to below file-paths.
13+
pull_request:
14+
types:
15+
- opened
16+
- synchronize
17+
branches:
18+
- master
19+
paths:
20+
- "src/db.py"
21+
- "src/requirements.txt"
22+
- "src/docs/conf.py"
23+
- "src/docs/Makefile"
24+
- "src/docs/make.bat"
25+
- "src/docs/_static/styles.css"
26+
- "src/docs/_static/intel.css"
27+
- "src/docs/_static/assets/logo-energyblue-white.svg"
28+
- "src/docs/_static/sample_db_prd.json"
29+
- "src/docs/_static/assets/favicon.ico"
30+
- "src/docs/_static/script.js"
31+
- "src/docs/_templates/base.html"
32+
- "src/docs/_templates/index.html"
3333

3434
# defaults:
3535
# run:

0 commit comments

Comments
 (0)