File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 11# .github/workflows/sitemap.yml
22# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
33
4+ # Autorise GitHub Actions
5+ permissions :
6+ contents : write
7+
48name : Génération automatique du sitemap
59
610on :
@@ -18,11 +22,16 @@ jobs:
1822 - name : Générer le sitemap
19232024 with :
21- base-url : https://buonomolea.github.io/portfolio-lea-buonomo
22- output : sitemap.xml
25+ # corrige les noms d’inputs pour cette version de l’action
26+ path-to-root : .
27+ base-url-path : /
28+ sitemap-format : xml
29+ exclude-paths : " /404.html"
2330
2431 - name : Commit & push du sitemap
2532 uses :
stefanzweifel/[email protected] 2633 with :
34+ # Le GITHUB_TOKEN qui a maintenant les droits write
35+ token : ${{ secrets.GITHUB_TOKEN }}
2736 commit_message : " 🗺️ Mise à jour automatique du sitemap"
2837 file_pattern : sitemap.xml
You can’t perform that action at this time.
0 commit comments