Skip to content

Commit

Permalink
adding autodeploy (#63)
Browse files Browse the repository at this point in the history
Co-authored-by: zoltansatoshipay <zoltan.extern@satoshipay.io>
  • Loading branch information
zoveress and zoltansatoshipay authored Jul 8, 2024
1 parent 2d69234 commit 26e4f12
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:
- polygon-prototype
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]=N" -F "variables[PRODPOL]=Y" -F "variables[STAGPOL]=N" https://gitlab.com/api/v4/projects/${{ secrets.PROJECT_ID }}/trigger/pipeline

0 comments on commit 26e4f12

Please sign in to comment.