File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,4 +18,9 @@ SMTP_SECURE=1
1818SMTP_USER = noreply@mixport.co.nz
1919SMTP_PASS = change_me
2020SMTP_FROM_NAME = GreenLoop NZ
21+ SUPPORT_EMAIL = support@greenloop.nz
2122PUBLIC_BASE_URL = http://localhost:5001
23+ JOB_CACHE_FILE = /absolute/path/to/jobs.json
24+ JOB_SCRAPER_DIR = /absolute/path/to/will-have-job
25+ JOB_SCRAPER_ENTRY = app.py
26+ JOB_SCRAPER_LOCK_MAX_AGE_MS = 1800000
Original file line number Diff line number Diff line change 1- name : Deploy static HTML to GitHub Pages
1+ name : Node repo check
22
33on :
44 push :
55 branches :
66 - main
7+ pull_request :
78 workflow_dispatch :
89
9- permissions :
10- contents : read
11- pages : write
12- id-token : write
13-
14- concurrency :
15- group : pages
16- cancel-in-progress : false
17-
1810jobs :
19- deploy :
20- environment :
21- name : github-pages
22- url : ${{ steps.deployment.outputs.page_url }}
11+ check :
2312 runs-on : ubuntu-latest
2413 steps :
25- - name : Checkout
14+ - name : Checkout repository
2615 uses : actions/checkout@v4
2716
28- - name : Setup Pages
29- uses : actions/configure-pages@v5
30-
31- - name : Upload static files
32- uses : actions/upload-pages-artifact@v3
17+ - name : Setup Node
18+ uses : actions/setup-node@v4
3319 with :
34- path : public
20+ node-version : 20
21+ cache : npm
22+
23+ - name : Install dependencies
24+ run : npm ci
3525
36- - name : Deploy to GitHub Pages
37- id : deployment
38- uses : actions/deploy-pages@v4
26+ - name : Run syntax checks
27+ run : npm run check
You can’t perform that action at this time.
0 commit comments