Skip to content

add self-sign, use ssl combined, add deploy hooks #263

add self-sign, use ssl combined, add deploy hooks

add self-sign, use ssl combined, add deploy hooks #263

Workflow file for this run

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"]}
- name: Invoke OSA deployment hook
uses: distributhor/workflow-webhook@v2
env:
webhook_url: https://my.domcloud.co/api/githubdeploy
webhook_secret: ${{ secrets.WEBHOOK_SECRET_OSA }}
webhook_auth: ${{ secrets.WEBHOOK_AUTH_OSA }}
data: >-
{"commands":["git pull","sudo systemctl restart bridge"]}
- name: Invoke BLR deployment hook
uses: distributhor/workflow-webhook@v2
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","sudo systemctl restart bridge"]}
- name: Invoke SAO deployment hook
uses: distributhor/workflow-webhook@v2
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","sudo systemctl restart bridge"]}