瀏覽代碼

👷 CI : update workflows

chenshuai2144 6 年之前
父節點
當前提交
405d1036e5
共有 2 個文件被更改,包括 14 次插入8 次删除
  1. 7 5
      .github/workflows/GitHub_Pages_Deploy.yml
  2. 7 3
      .github/workflows/issue-reference.yml

+ 7 - 5
.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 }}

+ 7 - 3
.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 }}