浏览代码

fix: railway fork does not need action

zhayujie 2 年之前
父节点
当前提交
3514c37e4c
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      .github/workflows/deploy-image-arm.yml
  2. 1 0
      .github/workflows/deploy-image.yml

+ 1 - 0
.github/workflows/deploy-image-arm.yml

@@ -19,6 +19,7 @@ env:
 
 jobs:
   build-and-push-image:
+    if: github.repository == 'zhayujie/chatgpt-on-wechat'
     runs-on: ubuntu-latest
     permissions:
       contents: read

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

@@ -19,6 +19,7 @@ env:
 
 jobs:
   build-and-push-image:
+    if: github.repository == 'zhayujie/chatgpt-on-wechat'
     runs-on: ubuntu-latest
     permissions:
       contents: read