Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
puckwang committed Aug 24, 2019
1 parent d3c010b commit 2c4e279
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@ name: Deploy Blog
on:
push:
branches:
- develop
- develop

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master
- uses: textbook/[email protected]
- name: build
uses: peaceiris/[email protected]
with:
args: --gc --minify --cleanDestinationDir
- name: deploy
uses: peaceiris/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PUBLISH_BRANCH: master
PUBLISH_DIR: ./public
- uses: actions/checkout@master
- uses: textbook/[email protected]
- name: build
uses: peaceiris/[email protected]
with:
args: --gc --minify --cleanDestinationDir
- name: deploy
uses: peaceiris/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PUBLISH_BRANCH: master
PUBLISH_DIR: ./public

1 comment on commit 2c4e279

@peaceiris
Copy link

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, use ACTIONS_DEPLOY_KEY or PERSONAL_TOKEN

cf. peaceiris/actions-gh-pages#9

Please sign in to comment.