Explorar o código

Branch rename

Thibaud Colas hai 1 día
pai
achega
cee62af80b
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  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: