From c31dafee4c20da43c6b9e5646aa863442cfa9c9c Mon Sep 17 00:00:00 2001 From: Wildan M Date: Sun, 20 Oct 2024 11:28:15 +0700 Subject: [PATCH] Restore deployment --- .github/workflows/domcloud.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/domcloud.yml b/.github/workflows/domcloud.yml index 051bc0d..1a44f0d 100644 --- a/.github/workflows/domcloud.yml +++ b/.github/workflows/domcloud.yml @@ -64,11 +64,11 @@ jobs: webhook_auth: ${{ secrets.WEBHOOK_AUTH_SGP }} data: >- {"commands":["git pull","npm i","npm test","sudo systemctl restart bridge"]} - # - name: Invoke MNZ deployment hook - # uses: distributhor/workflow-webhook@v3 - # env: - # webhook_url: https://my.domcloud.co/api/githubdeploy - # webhook_secret: ${{ secrets.WEBHOOK_SECRET_MNZ }} - # webhook_auth: ${{ secrets.WEBHOOK_AUTH_MNZ }} - # data: >- - # {"commands":["git pull","npm i","npm test","sudo systemctl restart bridge"]} + - name: Invoke MNZ deployment hook + uses: distributhor/workflow-webhook@v3 + env: + webhook_url: https://my.domcloud.co/api/githubdeploy + webhook_secret: ${{ secrets.WEBHOOK_SECRET_MNZ }} + webhook_auth: ${{ secrets.WEBHOOK_AUTH_MNZ }} + data: >- + {"commands":["git pull","npm i","npm test","sudo systemctl restart bridge"]}