Add files via upload #39
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: Trigger bifrost deployment | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger gitlab pipeline | |
env: | |
GITLAB_API_TOKEN: ${{ secrets.GITLAB_API_TOKEN }} | |
run: | | |
curl --request POST \ | |
--form token=$GITLAB_API_TOKEN \ | |
--form ref=master \ | |
--form variables[SPACES_TRIGGER]="production" \ | |
https://gitlab.com/api/v4/projects/33388494/ref/master/trigger/pipeline/ |