2023-04-09 16:30:28 +00:00
|
|
|
name: Update Single Page
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
2023-10-26 21:04:41 +00:00
|
|
|
- cron: "0 */2 * * *"
|
2023-04-09 16:30:28 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
update:
|
|
|
|
name: Update Single Page
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Setup Python
|
|
|
|
uses: actions/setup-python@v4
|
|
|
|
with:
|
2023-10-26 21:04:41 +00:00
|
|
|
python-version: "3.10"
|
2023-04-09 16:30:28 +00:00
|
|
|
|
2023-06-03 19:02:00 +00:00
|
|
|
- name: Configure Git
|
|
|
|
run: |
|
|
|
|
git config user.name "taskylizard"
|
|
|
|
git config user.email "75871323+taskylizard@users.noreply.github.com"
|
|
|
|
|
|
|
|
- name: Update
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
python .github/single-page.py
|
|
|
|
git add .
|
|
|
|
git commit -m '♻️ update single page'
|
|
|
|
git push
|