瀏覽代碼

Branch rename

Thibaud Colas 1 天之前
父節點
當前提交
cee62af80b
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      .github/workflows/main.yml

+ 3 - 3
.github/workflows/main.yml

@@ -2,7 +2,7 @@ name: CI
 
 on:
   push:
-    branches: master
+    branches: main
   pull_request:
 
 jobs:
@@ -20,12 +20,12 @@ jobs:
           python-version: "3.14"
       - run: python .github/api.py
       - uses: actions/upload-pages-artifact@v3
-        if: github.event_name == 'push' && github.ref == 'refs/heads/master'
+        if: github.event_name == 'push' && github.ref == 'refs/heads/main'
         with:
           path: ./dist
 
   deploy:
-    if: github.event_name == 'push' && github.ref == 'refs/heads/master'
+    if: github.event_name == 'push' && github.ref == 'refs/heads/main'
     runs-on: ubuntu-latest
     needs: build
     permissions: