gha: remove if statement from steps
This commit is contained in:
parent
03083c655e
commit
db1611bb0d
|
@ -38,14 +38,14 @@ jobs:
|
|||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- name: build
|
||||
uses: peaceiris/actions-hugo@v0.58.0
|
||||
if: github.event.deleted == false
|
||||
with:
|
||||
args: --gc --minify --cleanDestinationDir
|
||||
|
||||
- name: deploy
|
||||
uses: peaceiris/actions-gh-pages@v1.1.0
|
||||
if: success()
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
PUBLISH_BRANCH: gh-pages
|
||||
|
|
Loading…
Reference in New Issue