-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated GH Pages build with correct baseURL
- Loading branch information
1 parent
5ea7461
commit 6247f92
Showing
1 changed file
with
14 additions
and
14 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 |
---|---|---|
|
@@ -3,22 +3,22 @@ name: Push Master to GitHub Pages | |
on: | ||
push: | ||
branches: | ||
- master | ||
- master | ||
|
||
jobs: | ||
build-deploy: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: build | ||
uses: peaceiris/[email protected] | ||
if: github.event.deleted == false | ||
with: | ||
args: --gc --minify --cleanDestinationDir | ||
- name: deploy | ||
uses: peaceiris/[email protected] | ||
if: success() | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
PUBLISH_BRANCH: gh-pages | ||
PUBLISH_DIR: ./public | ||
- uses: actions/checkout@master | ||
- name: build | ||
uses: peaceiris/[email protected] | ||
if: github.event.deleted == false | ||
with: | ||
args: --gc --minify --cleanDestinationDir --baseUrl 'https://nuevofoundation.github.io/workshops/' | ||
- name: deploy | ||
uses: peaceiris/[email protected] | ||
if: success() | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
PUBLISH_BRANCH: gh-pages | ||
PUBLISH_DIR: ./public |
6247f92
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check your GitHub Pages status, you find that GitHub Pages build event did not start.
Please do not use
GITHUB_TOKEN
, useACTIONS_DEPLOY_KEY
orPERSONAL_TOKEN
and the latest release.cf. peaceiris/actions-gh-pages#9