Prechádzať zdrojové kódy

👷 CI : update workflows

chenshuai2144 6 rokov pred
rodič
commit
405d1036e5

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