Skip to content

Commit

Permalink
sync with develop
Browse files Browse the repository at this point in the history
  • Loading branch information
mahour committed Jun 20, 2024
1 parent 023c4ff commit a6bfac7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Github Pages
on:
push:
Expand All @@ -7,14 +8,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
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.
with:
persist-credentials: false
- name: NPM Install
uses: actions/checkout@v3
- name: Yarn Install
uses: bahmutov/npm-install@v1
- name: Build
run: |
npm run build
yarn build
env:
PREFIX_PATHS: true # works like --prefix-paths flag for 'gatsby build'
PATH_PREFIX: ${{ github.event.repository.name }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"build:incremental": "GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES=true gatsby build --log-pages",
"serve": "gatsby serve",
"clean": "gatsby clean",
"test:links": "remark src/pages --quiet",
"test:links": "remark src/pages --quiet --frail",
"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"
},
"remarkConfig": {
Expand Down

0 comments on commit a6bfac7

Please sign in to comment.