Skip to content

Update

Update #78

Workflow file for this run

---
name: Update
on:
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.WORKFLOW_TOKEN }}
- uses: fregante/setup-git-user@v2
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Update build-and-push workflow
run: ./update.py
- name: Push updates
run: |
git add .
git diff-index --quiet HEAD || git commit -m "actions: update build-and-push"
git push