From b367b4755f677e087697693f3603a1055a2d87f0 Mon Sep 17 00:00:00 2001 From: chenshuai2144 Date: Mon, 24 Feb 2020 11:38:20 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20CI=20:=20update=20workflows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/GitHub_Pages_Deploy.yml | 12 ++++++------ .github/workflows/issue-reference.yml | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/GitHub_Pages_Deploy.yml b/.github/workflows/GitHub_Pages_Deploy.yml index e1fad4ef..5fcbd119 100644 --- a/.github/workflows/GitHub_Pages_Deploy.yml +++ b/.github/workflows/GitHub_Pages_Deploy.yml @@ -1,6 +1,6 @@ -- name: Deploy to GitHub Pages - uses: maxheld83/ghpages@v0.2.1 - if: success() && github.event == 'push' && github.ref == 'master' - env: - BUILD_DIR: 'dist/' - GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }} +name: Deploy to GitHub Pages +uses: maxheld83/ghpages@v0.2.1 +if: success() && github.event == 'push' && github.ref == 'master' +env: + BUILD_DIR: 'dist/' + GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }} diff --git a/.github/workflows/issue-reference.yml b/.github/workflows/issue-reference.yml index 8d406d0b..77d2e967 100644 --- a/.github/workflows/issue-reference.yml +++ b/.github/workflows/issue-reference.yml @@ -1,4 +1,4 @@ -- name: Add an issue reference - uses: kentaro-m/add-an-issue-reference-action@v1.0.0 - env: - GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }} +name: Add an issue reference +uses: kentaro-m/add-an-issue-reference-action@v1.0.0 +env: + GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }}