From 1e2a55ee5f7c43fb1553530e7e97d7d95866ba97 Mon Sep 17 00:00:00 2001 From: Kreyren Date: Wed, 18 Mar 2020 11:32:46 +0100 Subject: [PATCH] Create irc.yml experiment irc action --- .github/workflows/irc.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/irc.yml diff --git a/.github/workflows/irc.yml b/.github/workflows/irc.yml new file mode 100644 index 0000000..806926e --- /dev/null +++ b/.github/workflows/irc.yml @@ -0,0 +1,26 @@ +on: [push] + +jobs: + deploy: + runs-on: ubuntu-latest + name: Deploy Chain + steps: + - name: Acknowledge + id: acknowledge + uses: Gottox/irc-message-action@v1 + with: + channel: '##mychannel' + nickname: mynickname + response_allow_from: Operator1, Operator2, Operator3 + # 5 hours: + response_timeout: 18000 + message: |- + ${{ github.actor }} pushed something: ${{ github.event.compare }} + Please acknowledge with "ok"! + # An Acknowledger can reply to this with "mynickname: ok" + - name: Print Acknowledger + run: echo "${{ steps.response.outputs.response_from }}" + - name: Check Acknowledge + run: test "${{ steps.response.outputs.response }}" = "ok" + - name: Deploy + run: ./deploy.sh