File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 # Review gh actions docs if you want to further define triggers, paths, etc
88 # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
99
10+ # Allow running this workflow manually from the Actions tab
11+ workflow_dispatch :
12+
1013defaults :
1114 run :
1215 shell : bash
1316 working-directory : ./docs
1417
18+ permissions :
19+ contents : write
20+
1521jobs :
1622 test-deploy :
1723 name : Test deployment
@@ -20,17 +26,15 @@ jobs:
2026 - uses : actions/checkout@v4
2127 with :
2228 fetch-depth : 0
29+
2330 - uses : actions/setup-node@v4
2431 with :
2532 node-version : 20
2633 cache : npm
27- - name : Debug paths
28- run : |
29- pwd
30- ls -la
31- ls -la ./docs
32- ls -la ./docs/package-lock.json
34+ cache-dependency-path : docs/package-lock.json
35+
3336 - name : Install dependencies
3437 run : npm ci
35- - name : Test build website
38+
39+ - name : Build website
3640 run : npm run build
You can’t perform that action at this time.
0 commit comments