Skip to content

Commit f6be21b

Browse files
update script
Signed-off-by: saurabhraghuvanshii <saurabhsraghuvanshi@gmail.com>
1 parent 86d48a4 commit f6be21b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build-and-deploy-site.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
- name: Build Gatsby site
3232
run: |
33-
npm run build
33+
PATH_PREFIX=layer5 npm run build:gh-pages
3434
touch public/.nojekyll
3535
3636
- name: Deploy to GitHub Pages

.github/workflows/build-and-preview-site.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Build PR preview
4444
if: github.event.action != 'closed'
4545
run: |
46-
npm run build
46+
PATH_PREFIX=layer5 npm run build:preview
4747
4848
# Prevent indexing
4949
cat > public/robots.txt <<'EOF'

0 commit comments

Comments
 (0)