Skip to content

periodic-update

periodic-update #65350

name: periodic-update
on:
workflow_dispatch:
schedule:
- cron: '*/15 * * * *'
jobs:
periodic-update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install
run: sudo apt-get install lftp
- name: update
run: ./update.sh
- name: push
run: |
git config --global user.name "github-actions"
git config --global user.email ""
git add .
git diff-index --quiet HEAD || git commit -m "periodic update"
git push