Ability to use shared SSL #261
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@v2 | |
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","sudo systemctl restart bridge"]} | |
- name: Invoke NYC deployment hook | |
uses: distributhor/workflow-webhook@v2 | |
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","sudo systemctl restart bridge"]} | |
- name: Invoke FRA deployment hook | |
uses: distributhor/workflow-webhook@v2 | |
env: | |
webhook_url: https://my.domcloud.co/api/githubdeploy | |
webhook_secret: ${{ secrets.WEBHOOK_SECRET_FRA }} | |
webhook_auth: ${{ secrets.WEBHOOK_AUTH_FRA }} | |
data: >- | |
{"commands":["git pull","sudo systemctl restart bridge"]} |