diff options
author | David Timber <dxdt@dev.snart.me> | 2024-11-13 02:33:56 +0100 |
---|---|---|
committer | David Timber <dxdt@dev.snart.me> | 2024-11-13 02:38:48 +0100 |
commit | 8ba37837b84a455a7d11de55dd36e647ff4170f3 (patch) | |
tree | 439b6a4a6e6efce1590cec940e35c72fb55419d1 /.github | |
parent | c4618105a2c3f2d12b07efa7a0a27fa908d20eee (diff) |
Add main workflow
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/main.yml | 17 | ||||
-rw-r--r-- | .github/workflows/ping-he-tb.yml | 2 |
2 files changed, 18 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..2901af1 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,17 @@ +name: main +run-name: main +on: + # schedule: + # - cron: '*/5 * * * *' + workflow_dispatch: +jobs: + Do-snapshot: + name: "main" + runs-on: ubuntu-latest + steps: + - name: Run main + run: | + sudo apt-get install -y ncat + ncat -l 12345 --keep-open --exec "/bin/cat" & + ncat -u -l 12345 --keep-open --exec "/bin/cat" & + sleep inf diff --git a/.github/workflows/ping-he-tb.yml b/.github/workflows/ping-he-tb.yml index abb862b..cb9a679 100644 --- a/.github/workflows/ping-he-tb.yml +++ b/.github/workflows/ping-he-tb.yml @@ -20,6 +20,6 @@ jobs: run: | git config --global user.name 'Snapshot Automation Bot' git config --global user.email '_@users.noreply.github.com' - git add ping-he-tb + git add ping-data git commit -sm 'ping-data commit' git push |