From 63289d08c4c35cb4667aeb0c8d7f5076df61f4af Mon Sep 17 00:00:00 2001 From: fcmsilva Date: Thu, 6 Jun 2024 15:31:33 +0100 Subject: [PATCH] Trigger bifrost deployments (#99) * add test rules to deploy bifrost --- .github/workflows/deploy-bifrost.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/deploy-bifrost.yml diff --git a/.github/workflows/deploy-bifrost.yml b/.github/workflows/deploy-bifrost.yml new file mode 100644 index 00000000..a3617570 --- /dev/null +++ b/.github/workflows/deploy-bifrost.yml @@ -0,0 +1,21 @@ +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/