We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76d7d01 commit c01e811Copy full SHA for c01e811
1 file changed
.github/workflows/deploy.yml
@@ -4,6 +4,12 @@ on:
4
push:
5
branches: [ main ]
6
7
+# Permissions pour le déploiement sur GitHub Pages
8
+permissions:
9
+ contents: write
10
+ pages: write
11
+ id-token: write
12
+
13
jobs:
14
deploy:
15
runs-on: ubuntu-latest
@@ -31,7 +37,7 @@ jobs:
31
37
with:
32
38
folder: out
33
39
branch: gh-pages
34
- # PERSONAL_ACCESS_TOKEN est un secret GitHub configuré dans les settings du dépôt
35
- token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
40
+ # Utilisation du token GitHub par défaut avec permissions de déploiement
41
+ token: ${{ secrets.GITHUB_TOKEN }}
36
42
clean: true
43
repository-name: Lemophile/lemophile.github.io
0 commit comments