diff options
-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 |