Skip to content

Commit

Permalink
Create Sitemap.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
oameye authored Oct 6, 2024
1 parent b2de282 commit 73dfd70
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/Sitemap.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Generate xml sitemap

on:
push:
branches:
- gh-pages

jobs:
sitemap_job:
runs-on: ubuntu-latest
name: Generate a sitemap

steps:
- name: Checkout the repo
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Generate the sitemap
id: sitemap
uses: cicirello/generate-sitemap@v1
with:
base-url-path: https://nonlinearoscillations.github.io/HarmonicBalance.jl/

- name: Output stats
run: |
echo "sitemap-path = ${{ steps.sitemap.outputs.sitemap-path }}"
echo "url-count = ${{ steps.sitemap.outputs.url-count }}"
echo "excluded-count = ${{ steps.sitemap.outputs.excluded-count }}"

0 comments on commit 73dfd70

Please sign in to comment.