We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d59e71 commit 2e53a0fCopy full SHA for 2e53a0f
.github/workflows/sitemap.yml
@@ -0,0 +1,30 @@
1
+name: Sitemap Generator
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+permissions:
7
+ contents: write
8
9
+jobs:
10
+ generate_sitemap:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout repo
14
+ uses: actions/checkout@v5
15
+ with:
16
+ fetch-depth: 0
17
+ - name: Generate Sitemap
18
+ uses: cicirello/generate-sitemap@v1
19
20
+ base-url-path: https://rust-wiiu.github.io/
21
+ sitemap-format: xml
22
+ output-path: sitemap.xml
23
+ - name: Commit and push
24
25
+ run: |
26
+ git config user.name "github-actions[bot]"
27
+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
28
+ git add sitemap.xml
29
+ git commit -m "Generate sitemap.xml"
30
+ git push
0 commit comments