From 405d1036e5a2c274e983563d6c7489c94eed3555 Mon Sep 17 00:00:00 2001 From: chenshuai2144 Date: Mon, 24 Feb 2020 11:43:00 +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 | 10 +++++++--- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/GitHub_Pages_Deploy.yml b/.github/workflows/GitHub_Pages_Deploy.yml index d689dc86..33e0bf73 100644 --- a/.github/workflows/GitHub_Pages_Deploy.yml +++ b/.github/workflows/GitHub_Pages_Deploy.yml @@ -1,7 +1,9 @@ name: Deploy to GitHub Pages on: [push] -uses: maxheld83/ghpages@v0.2.1 -if: success() && github.event == 'push' && github.ref == 'master' -env: - BUILD_DIR: 'dist/' - GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }} +jobs: + Deploy: + 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 6cdaf0ee..648c2420 100644 --- a/.github/workflows/issue-reference.yml +++ b/.github/workflows/issue-reference.yml @@ -1,5 +1,9 @@ name: Add an issue reference on: [pull_request] -uses: kentaro-m/add-an-issue-reference-action@v1.0.0 -env: - GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }} + +jobs: + reference: + name: reference + uses: kentaro-m/add-an-issue-reference-action@v1.0.0 + env: + GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }}