Skip to content

AutoUpdate

AutoUpdate #4266

Workflow file for this run

name: AutoUpdate
on:
workflow_dispatch:
schedule:
- cron: '0 */6 * * *'
jobs:
Update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Privilege
run: |
chmod u+x start.sh
- name: Start
run: |
sh start.sh
- name: Deploy
if: success()
uses: crazy-max/ghaction-github-pages@v2
with:
build_dir: /
target_branch: master
keep_history: false
allow_empty_commit: false
commit_message: AutoUpdate
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@v2
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 1
keep_minimum_runs: 1