FMHYedit/.github/workflows/single-page.yml
taskirel d4a6ac7f6f
chore: update single-page CI (#642)
Co-authored-by: taskylizard <taskylizard@users.noreply.github.com>
2023-05-30 13:01:23 +05:30

33 lines
628 B
YAML

name: Update Single Page
on:
workflow_dispatch:
schedule:
- cron: '0 */2 * * *'
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:
python-version: '3.10'
- name: Run script
run: python .github/single-page.py
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
branch: main
folder: .
commit-message: "♻️ update single page"