FMHYedit/.github/workflows/single-page.yml

29 lines
551 B
YAML
Raw Normal View History

2023-04-09 16:30:28 +00:00
name: Update Single Page
on:
2023-12-16 16:17:20 +00:00
push:
branches: main
2023-04-09 16:30:28 +00:00
workflow_dispatch:
jobs:
update:
name: Update Single Page
runs-on: ubuntu-latest
permissions:
contents: write
steps:
2023-12-16 16:17:20 +00:00
- uses: actions/checkout@v4
2023-04-09 16:30:28 +00:00
- name: Setup Python
uses: actions/setup-python@v4
with:
2024-01-25 16:32:45 +00:00
python-version: '3.10'
2023-04-09 16:30:28 +00:00
2023-12-16 16:19:57 +00:00
- name: Create local changes
run: python .github/single-page.py
- uses: stefanzweifel/git-auto-commit-action@v4
with:
2024-01-25 16:32:45 +00:00
commit_message: '♻️ update single page'