We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4a1530 commit 3b6727fCopy full SHA for 3b6727f
1 file changed
.github/workflows/main.yml
@@ -2,7 +2,7 @@ name: Deploy MkDocs to GitHub Pages
2
3
on:
4
push:
5
- branches: [ main ] # Déclenche le workflow à chaque push sur la branche main
+ branches: [ main ]
6
7
jobs:
8
deploy:
@@ -20,5 +20,11 @@ jobs:
20
pip install mkdocs mkdocs-material
21
22
- name: Build and deploy
23
+ env:
24
+ GH_PAT: ${{ secrets.GH_PAT }}
25
run: |
26
+ git config --global user.name "github-actions[bot]"
27
+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
28
+ remote_url="https://${GH_PAT}@github.com/QualCoder-Org/qualcoder-org.github.io.git"
29
+ git remote set-url origin "$remote_url"
30
mkdocs gh-deploy --force
0 commit comments