瀏覽代碼

🚑: remove github.event==push

chenshuai2144 5 年之前
父節點
當前提交
be3d4a2402
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .github/workflows/deploy.yml

+ 1 - 1
.github/workflows/deploy.yml

@@ -5,7 +5,7 @@ on: [push]
 jobs:
   build-and-deploy:
     runs-on: ubuntu-latest
-    if: github.event == 'push' && github.ref == 'master'
+    if: github.ref == 'master'
     steps:
       - name: Checkout
         uses: actions/checkout@master