Skip to content

Commit

Permalink
Added autodeploy actions
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltansatoshipay committed Jul 8, 2024
1 parent c942d47 commit 064c768
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/autodeploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Gitlab Pipeline Executor
run-name: Gitlab Pipeline Executor
on: [push]
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]=Y" -F "variables[STAGING]=N" -F "variables[PRODPOL]=N" -F "variables[STAGPOL]=N" https://gitlab.com/api/v4/projects/${{ secrets.PROJECT_ID }}/trigger/pipeline

0 comments on commit 064c768

Please sign in to comment.