Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Commit

Permalink
Create sitemap.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick2bad4u authored Apr 27, 2024
1 parent 687f9db commit aaf4b8a
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/sitemap.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Generate xml sitemap

on:
push:
branches: [ main ]

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

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

- name: Generate the sitemap
id: sitemap
uses: cicirello/[email protected]
with:
base-url-path: https://github.typpi.online

- 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 aaf4b8a

Please sign in to comment.