Skip to content

Commit

Permalink
Adding automation on push (#61)
Browse files Browse the repository at this point in the history
* Adding automation on push

* Fixed inconsistecy on push

---------

Co-authored-by: zoltansatoshipay <zoltan.extern@satoshipay.io>
  • Loading branch information
zoveress and zoltansatoshipay authored Jul 8, 2024
1 parent 8bd04df commit 3d4dbb5
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/autodeploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Gitlab Pipeline Executor
run-name: Gitlab Pipeline Executor
on:
push:
branches:
- offramp-prototype-staging
jobs:
Execute-Gitlab-Pipeline:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Triggers Gitlab Pipeline
run: |
ls ${{ github.workspace }}
curl -X POST -F token=${{ secrets.GITLAB_TRIGGER }} -F "ref=development" -F "variables[PRODUCTION]=N" -F "variables[STAGING]=Y" -F "variables[PRODPOL]=N" -F "variables[STAGPOL]=N" https://gitlab.com/api/v4/projects/${{ secrets.PROJECT_ID }}/trigger/pipeline

0 comments on commit 3d4dbb5

Please sign in to comment.