Fix null err #361
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync on DOM Cloud | |
'on': | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
push: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Invoke SGA deployment hook | |
uses: distributhor/workflow-webhook@v3 | |
env: | |
webhook_url: https://my.domcloud.co/api/githubdeploy | |
webhook_secret: ${{ secrets.WEBHOOK_SECRET_SGA }} | |
webhook_auth: ${{ secrets.WEBHOOK_AUTH_SGA }} | |
data: >- | |
{"commands":["git pull","npm i","sudo systemctl restart bridge"]} | |
- name: Invoke NYC deployment hook | |
uses: distributhor/workflow-webhook@v3 | |
env: | |
webhook_url: https://my.domcloud.co/api/githubdeploy | |
webhook_secret: ${{ secrets.WEBHOOK_SECRET_NYC }} | |
webhook_auth: ${{ secrets.WEBHOOK_AUTH_NYC }} | |
data: >- | |
{"commands":["git pull","npm i","sudo systemctl restart bridge"]} | |
- name: Invoke AMS deployment hook | |
uses: distributhor/workflow-webhook@v3 | |
env: | |
webhook_url: https://my.domcloud.co/api/githubdeploy | |
webhook_secret: ${{ secrets.WEBHOOK_SECRET_AMS }} | |
webhook_auth: ${{ secrets.WEBHOOK_AUTH_AMS }} | |
data: >- | |
{"commands":["git pull","npm i","sudo systemctl restart bridge"]} | |
- name: Invoke TYO deployment hook | |
uses: distributhor/workflow-webhook@v3 | |
env: | |
webhook_url: https://my.domcloud.co/api/githubdeploy | |
webhook_secret: ${{ secrets.WEBHOOK_SECRET_TYO }} | |
webhook_auth: ${{ secrets.WEBHOOK_AUTH_TYO }} | |
data: >- | |
{"commands":["git pull","npm i","sudo systemctl restart bridge"]} | |
- name: Invoke BLR deployment hook | |
uses: distributhor/workflow-webhook@v3 | |
env: | |
webhook_url: https://my.domcloud.co/api/githubdeploy | |
webhook_secret: ${{ secrets.WEBHOOK_SECRET_BLR }} | |
webhook_auth: ${{ secrets.WEBHOOK_AUTH_BLR }} | |
data: >- | |
{"commands":["git pull","npm i","sudo systemctl restart bridge"]} | |
- name: Invoke SAO deployment hook | |
uses: distributhor/workflow-webhook@v3 | |
env: | |
webhook_url: https://my.domcloud.co/api/githubdeploy | |
webhook_secret: ${{ secrets.WEBHOOK_SECRET_SAO }} | |
webhook_auth: ${{ secrets.WEBHOOK_AUTH_SAO }} | |
data: >- | |
{"commands":["git pull","npm i","sudo systemctl restart bridge"]} |