Adds Deployment Dispatcher
This commit is contained in:
14
.github/workflows/docker-publish.yml
vendored
14
.github/workflows/docker-publish.yml
vendored
@@ -28,4 +28,16 @@ jobs:
|
|||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: yoshiunfriendly/storage-hideyoshi.com:latest
|
tags: yoshiunfriendly/storage-hideyoshi.com:latest
|
||||||
|
|
||||||
|
run-dispatcher:
|
||||||
|
needs: docker
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
|
- name: Runs Infra-Hideyoshi.com Deployment Dispatcher
|
||||||
|
run: |
|
||||||
|
curl -X POST https://api.github.com/repos/HideyoshiNakazone/infra-hideyoshi.com/dispatches \
|
||||||
|
-H 'Accept: application/vnd.github.everest-preview+json' \
|
||||||
|
-u ${{ secrets.ACTIONS_KEY }} \
|
||||||
|
--data '{"event_type": "refresh-deployments", "client_payload": { "deployments": "storage-deployment storage-processor-deployment" }}'
|
||||||
Reference in New Issue
Block a user