From 2c4e2794ac971be8c4f7f9ace18baae8ed428ba7 Mon Sep 17 00:00:00 2001 From: Puck Wang Date: Sat, 24 Aug 2019 21:22:08 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 52cf5ca3..36271d2f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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/git-checkout-submodule-action@2.0.0 - - name: build - uses: peaceiris/actions-hugo@v0.57.2 - with: - args: --gc --minify --cleanDestinationDir - - name: deploy - uses: peaceiris/actions-gh-pages@v1.1.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - PUBLISH_BRANCH: master - PUBLISH_DIR: ./public + - uses: actions/checkout@master + - uses: textbook/git-checkout-submodule-action@2.0.0 + - name: build + uses: peaceiris/actions-hugo@v0.57.2 + with: + args: --gc --minify --cleanDestinationDir + - name: deploy + uses: peaceiris/actions-gh-pages@v1.1.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PUBLISH_BRANCH: master + PUBLISH_DIR: ./public \ No newline at end of file