Skip to content

Commit

Permalink
adding automatic deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltansatoshipay committed Sep 9, 2024
1 parent dfbfcaa commit d195e23
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/autodeploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Gitlab Pipeline Executor
run-name: Gitlab Pipeline Executor
on:
push:
branches:
- main
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[ENABLECOMPILATION]=Y" -F "variables[COMPILEDIA]=Y" -F "variables[RELEASEDIA]=Y" -F "variables[CREATEDOCKER]=Y" -F "variables[STARTSTOP]=Y" -F "variables[DEPLOY]=Y" https://gitlab.com/api/v4/projects/${{ secrets.PROJECT_ID }}/trigger/pipeline

0 comments on commit d195e23

Please sign in to comment.