Skip to content

Commit a6bfac7

Browse files
author
mahour
committed
sync with develop
1 parent 023c4ff commit a6bfac7

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/github-pages.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: Github Pages
23
on:
34
push:
@@ -7,14 +8,12 @@ jobs:
78
runs-on: ubuntu-latest
89
steps:
910
- 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
1413
uses: bahmutov/npm-install@v1
1514
- name: Build
1615
run: |
17-
npm run build
16+
yarn build
1817
env:
1918
PREFIX_PATHS: true # works like --prefix-paths flag for 'gatsby build'
2019
PATH_PREFIX: ${{ github.event.repository.name }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"build:incremental": "GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES=true gatsby build --log-pages",
3131
"serve": "gatsby serve",
3232
"clean": "gatsby clean",
33-
"test:links": "remark src/pages --quiet",
33+
"test:links": "remark src/pages --quiet --frail",
3434
"lint": "docker run --rm -e RUN_LOCAL=true --env-file '.github/super-linter.env' -v \"$PWD\":/tmp/lint github/super-linter:slim-v4.10.1"
3535
},
3636
"remarkConfig": {

0 commit comments

Comments
 (0)