Skip to content

update-dashboard

update-dashboard #7

name: update-dashboard
on:
schedule:
- cron: '0 0 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup
run: |
sudo apt-get update && sudo apt-get install -y jq
- name: update-dashboard
run: ./dashboard.sh
- name: Commit report
run: |
if [[ `git status --porcelain` ]]; then
git config user.name github-actions[bot]
git config user.email "github-actions[bot]@users.noreply.github.com"
git add .
git commit -am "[workflow] dashboard update"
git push
fi