diff options
author | David Timber <dxdt@dev.snart.me> | 2024-10-26 13:01:47 +0200 |
---|---|---|
committer | David Timber <dxdt@dev.snart.me> | 2024-10-26 13:22:10 +0200 |
commit | d602a5aec699b4ae8a412b3787c4b3ddf5c0909b (patch) | |
tree | 7038ce7b8090311405d54322210495f918eed514 | |
parent | 0a7663b294141b43699cbe838c704ee24f7ab72d (diff) |
Add Github Actions automation
-rw-r--r-- | .github/workflows/snapshot-automation.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/snapshot-automation.yml b/.github/workflows/snapshot-automation.yml new file mode 100644 index 0000000..e3d5ee3 --- /dev/null +++ b/.github/workflows/snapshot-automation.yml @@ -0,0 +1,25 @@ +name: rpki-tracker-kr snapshot automation +run-name: ${{ github.actor }}가 RPKI 보급률 데이터를 업데이트 중 +on: + schedule: + - cron: "00 00 * * mon" + workflow_dispatch: +permissions: + contents: write +jobs: + Do-snapshot: + name: Do data dump snapshot + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Run make + run: | + make clean + make + - name: Do commit + run: | + git config --global user.name 'Snapshot Automation Bot' + git config --global user.email '_@users.noreply.github.com' + git add --all + git commit -sm 'Data snapshot commit' + git push |