You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/github-pages.yml
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
---
1
2
name: Github Pages
2
3
on:
3
4
push:
@@ -7,14 +8,12 @@ jobs:
7
8
runs-on: ubuntu-latest
8
9
steps:
9
10
- name: Checkout
10
-
uses: actions/[email protected]# If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
11
-
with:
12
-
persist-credentials: false
13
-
- name: NPM Install
11
+
uses: actions/checkout@v3
12
+
- name: Yarn Install
14
13
uses: bahmutov/npm-install@v1
15
14
- name: Build
16
15
run: |
17
-
npm run build
16
+
yarn build
18
17
env:
19
18
PREFIX_PATHS: true # works like --prefix-paths flag for 'gatsby build'
0 commit comments