This repository has been archived by the owner on Dec 11, 2023. It is now read-only.
Merge pull request #269 from tuna/dependabot/submodules/web-portal/mi… #103
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: CD pipeline | |
on: | |
# Trigger the workflow on push for the master branch | |
push: | |
branches: | |
- master | |
jobs: | |
trigger-job: | |
name: Pipeline Trigger | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger pipeline on AWS | |
id: trigger-pipeline | |
env: | |
COMMIT: ${{ github.sha }} | |
TRIGGER_URL: ${{ secrets.PIPELINE_TRIGGER_URL }} | |
run: | | |
# Trigger pipeline state machine | |
if [ $(curl -LI -s -o /dev/null -w '%{http_code}\n' -X PUT $TRIGGER_URL?commit=$COMMIT) != "200" ]; then exit 1; fi |