Explorar o código

ci: fix workflow v3 (#4)

LoGin hai 10 meses
pai
achega
32d801d4ff
Modificáronse 1 ficheiros con 4 adicións e 3 borrados
  1. 4 3
      .github/workflows/deploy.yml

+ 4 - 3
.github/workflows/deploy.yml

@@ -5,6 +5,7 @@ on:
   pull_request:
     branches: [ "master" ]
 
+
 jobs:
 
   ensure-toolchain:
@@ -40,10 +41,10 @@ jobs:
   build-and-deploy:
     runs-on: ubuntu-latest
     needs: [ensure-toolchain]
-    environment:
-      name: github-pages
+
+    permissions:
+      contents: write
     steps:
-            
       - uses: actions/checkout@v3
 
       - name: Cache dependencies