health check #757
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: health check | |
| on: | |
| schedule: | |
| - cron: "30 2,8,14,20 * * *" | |
| workflow_dispatch: | |
| jobs: | |
| health-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install FFmpeg | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install ffmpeg -y | |
| - name: Run health.sh | |
| run: bash health.sh | |
| - name: Update log | |
| uses: stefanzweifel/git-auto-commit-action@v6 | |
| with: | |
| commit_message: "health log" | |
| file_pattern: "readme.md" | |
| commit_author: "GitHub Actions Bot <actions@github.com>" | |
| commit_user_name: "GitHub Actions Bot" | |
| commit_user_email: "actions@github.com" |