-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 parent
64ba6a4
commit 1c7e225
Showing
3 changed files
with
14 additions
and
3 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 |
---|---|---|
|
@@ -47,5 +47,9 @@ jobs: | |
run: VERSION=${{ github.sha }} make build | ||
|
||
- name: publish gh-pages | ||
run: VERSION=${{ github.sha }} make gh-pages | ||
if: github.ref == 'refs/heads/master' && github.event_name == 'push' | ||
run: | | ||
git config user.name "Github Actions" | ||
git config user.email "[email protected]" | ||
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git | ||
VERSION=${{ github.sha }} make gh-pages |
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
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
"test": "react-scripts test", | ||
"eject": "react-scripts eject", | ||
"predeploy": "PUBLIC_URL=https://andrewkroh.github.io/beats-playground/ yarn build", | ||
"deploy": "gh-pages -d build --repo https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git --user 'Gitub Actions <[email protected]>'" | ||
"deploy": "gh-pages -d build" | ||
}, | ||
"eslintConfig": { | ||
"extends": "react-app" | ||
|