Skip to content

Merge pull request #1684 from gridsingularity/bug/GSYE-631 #323

Merge pull request #1684 from gridsingularity/bug/GSYE-631

Merge pull request #1684 from gridsingularity/bug/GSYE-631 #323

name: gsy-e-ci-cd-development
on:
push:
branches:
- master
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Trigger deployment
shell: bash
run: |
curl -X POST --header "authorization: Bearer ${{ secrets.GSYDEV_TOKEN }}" \
-H 'Accept: application/json' \
https://api.github.com/repos/gridsingularity/gsy-web/actions/workflows/gsy-e-development.yaml/dispatches \
-d '{"ref":"refs/heads/master"}'
- name: Notify slack fail
if: failure()
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
uses: voxmedia/github-action-slack-notify-build@v1
with:
channel: dev_cicd_errors
status: FAILED
color: danger