From 634818a98872cd37d20bb3e8d3d1cb83684cab94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Walther?= Date: Fri, 9 Sep 2022 11:41:44 +0200 Subject: [PATCH] Added notification workflow --- .../workflows/notification_on_dispatch.yml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/notification_on_dispatch.yml diff --git a/.github/workflows/notification_on_dispatch.yml b/.github/workflows/notification_on_dispatch.yml new file mode 100644 index 0000000000..4222a71ae3 --- /dev/null +++ b/.github/workflows/notification_on_dispatch.yml @@ -0,0 +1,26 @@ +name: Nightly builds on dispatch + +on: workflow_dispatch +jobs: + notification: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v2 + - name: Keybase - Node Install + run: npm install + working-directory: .github/workflows/support-files + - name: Keybase - Send Notification + env: + NYM_NOTIFICATION_KIND: nightly + NYM_PROJECT_NAME: "Notification test" + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + GIT_COMMIT_MESSAGE: "${{ github.event.head_commit.message }}" + GIT_BRANCH: "${GITHUB_REF##*/}" + KEYBASE_NYMBOT_USERNAME: "${{ secrets.KEYBASE_NYMBOT_USERNAME }}" + KEYBASE_NYMBOT_PAPERKEY: "${{ secrets.KEYBASE_NYMBOT_PAPERKEY }}" + KEYBASE_NYMBOT_TEAM: "${{ secrets.KEYBASE_NYMBOT_TEAM }}" + KEYBASE_NYM_CHANNEL: "ci-nightly" + uses: docker://keybaseio/client:stable-node + with: + args: .github/workflows/support-files/notifications/entry_point.sh