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

Merge pull request #99 from Nick2bad4u/dependabot/github_actions/gith… #107

Merge pull request #99 from Nick2bad4u/dependabot/github_actions/gith…

Merge pull request #99 from Nick2bad4u/dependabot/github_actions/gith… #107

Workflow file for this run

name: Generate xml sitemap
on:
push:
branches: [ main ]
jobs:
sitemap_job:
runs-on: ubuntu-latest
name: Generate a sitemap
steps:
- name: Harden Runner
uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
with:
egress-policy: audit
- name: Checkout the repo
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
- name: Generate the sitemap
id: sitemap
uses: cicirello/generate-sitemap@63643192a20862580b2e628ce0e553a8907e9ee9 # v1.10.0
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 }}"