Skip to content

Update style.css

Update style.css #56

name: Generate Sitemap
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
jobs:
generate-sitemap:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install Dependencies
run: pip install beautifulsoup4 requests lxml
- name: Generate Sitemap
run: python .github/scripts/update_sitemap.py
- name: Configure Git
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Commit and Push Sitemap
run: |
git add .
git commit -m "Auto Update Sitemap" || echo "No changes to commit"
git push