Skip to content

Commit 73dfd70

Browse files
authored
Create Sitemap.yml
1 parent b2de282 commit 73dfd70

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/Sitemap.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Generate xml sitemap
2+
3+
on:
4+
push:
5+
branches:
6+
- gh-pages
7+
8+
jobs:
9+
sitemap_job:
10+
runs-on: ubuntu-latest
11+
name: Generate a sitemap
12+
13+
steps:
14+
- name: Checkout the repo
15+
uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Generate the sitemap
20+
id: sitemap
21+
uses: cicirello/generate-sitemap@v1
22+
with:
23+
base-url-path: https://nonlinearoscillations.github.io/HarmonicBalance.jl/
24+
25+
- name: Output stats
26+
run: |
27+
echo "sitemap-path = ${{ steps.sitemap.outputs.sitemap-path }}"
28+
echo "url-count = ${{ steps.sitemap.outputs.url-count }}"
29+
echo "excluded-count = ${{ steps.sitemap.outputs.excluded-count }}"

0 commit comments

Comments
 (0)