Skip to content

Commit

Permalink
chore: config the workflow run condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ci010 committed Jul 6, 2020
1 parent 6e1cfb0 commit 1816840
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ on:
push:
branches:
- master
paths:
- 'build/**'
- 'scripts/*'
- 'src/**'
- 'static/**'
- 'package.json'
- 'package-lock.json'

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
target_branch: gh-pages
build_dir: docs
env:
GITHUB_PAT: ${{ secrets.GITHUB_PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1816840

Please sign in to comment.