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:
|
2023-11-12 16:42:57 +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:
|
|
|
|
commit_message: "♻️ update single page"
|