We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ee03b6 commit b82edf4Copy full SHA for b82edf4
1 file changed
.github/workflows/static-build.yml
@@ -3,7 +3,7 @@ name: Build and Deploy Static Pages
3
on:
4
push:
5
branches:
6
- - main # or your default branch
+ - main
7
8
jobs:
9
build-and-deploy:
@@ -17,11 +17,14 @@ jobs:
17
with:
18
node-version: '18'
19
cache: 'npm'
20
+ cache-dependency-path: './frontend/package-lock.json'
21
22
- name: Install dependencies
23
+ working-directory: ./frontend
24
run: npm ci
25
26
- name: Build static pages
27
28
run: npm run build
29
30
- name: Checkout target repository
@@ -33,7 +36,7 @@ jobs:
33
36
34
37
- name: Copy built files and create PR
35
38
run: |
- cp -r out/* robocus.github.io/docs/
39
+ cp -r frontend/out/* robocus.github.io/docs/
40
# Create CNAME file
41
echo "robocus.org" > robocus.github.io/docs/CNAME
42
# Create empty .nojekyll file
0 commit comments