Skip to content

BookSource_24-09-24

BookSource_24-09-24 #1

Workflow file for this run

name: Update Websites
on:
release:
types: [published]
jobs:
update-websites:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Run support_websites.py
run: |
python src/scripts/support_websites.py
- name: Commit and push changes
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add docs/websites.md -f
git commit -m 'Update websites.md'
git push origin HEAD:main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}