FMHYedit/.github/workflows/single-page.yml
Workflow config file is invalid. Please check your config file: yaml: line 10: did not find expected key
2023-12-16 16:17:20 +00:00

33 lines
647 B
YAML

name: Update Single Page
on:
push:
branches: main
workflow_dispatch:
# schedule:
# - cron: "0 */2 * * *"
jobs:
update:
name: Update Single Page
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Create local changes
run: python .github/single-page.py
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "♻️ update single page"