generated from AdobeDocs/dev-site-documentation-template
-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
mahour
committed
Jun 20, 2024
1 parent
023c4ff
commit a6bfac7
Showing
2 changed files
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--- | ||
name: Github Pages | ||
on: | ||
push: | ||
|
@@ -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 }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters