浏览代码

chore: сonfiguring `paths` for CI
no need for automatic build when changing files that do not affect panel operation

Shishkevich D. 3 天之前
父节点
当前提交
295a8b6e37
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. 10 0
      .github/workflows/release.yml

+ 10 - 0
.github/workflows/release.yml

@@ -7,6 +7,16 @@ on:
   push:
   push:
     branches:
     branches:
       - main
       - main
+    paths:
+      - '**.js'
+      - '**.css'
+      - '**.html'
+      - '**.go'
+      - '**.sh'
+      - '**.go'
+      - 'go.mod'
+      - 'go.sum'
+      - 'x-ui.service'
 
 
 jobs:
 jobs:
   build:
   build: