diff options
Diffstat (limited to '.github/workflows/ping-he-tb.yml')
-rw-r--r-- | .github/workflows/ping-he-tb.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/ping-he-tb.yml b/.github/workflows/ping-he-tb.yml new file mode 100644 index 0000000..abb862b --- /dev/null +++ b/.github/workflows/ping-he-tb.yml @@ -0,0 +1,25 @@ +name: ping-he-tb +run-name: ping-he-tb +on: + schedule: + - cron: '*/5 * * * *' + workflow_dispatch: +jobs: + Do-snapshot: + name: "ping-he-tb" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + ref: 'data' + - name: Run ping-he-tb + run: | + mkdir -p ping-data + ./ping-he-tb | tee "ping-data/$(date -uIns)" + - name: Do commit + run: | + git config --global user.name 'Snapshot Automation Bot' + git config --global user.email '_@users.noreply.github.com' + git add ping-he-tb + git commit -sm 'ping-data commit' + git push |