Skip to content

Commit

Permalink
Create autodeploy.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ebma authored Nov 11, 2024
1 parent 35f4db9 commit cbf1be0
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=${{ github.GITLAB_TRIGGER }} -F "ref=development" -F "variables[RESET]=N" https://gitlab.com/api/v4/projects/${{ secrets.PROJECT_ID }}/trigger/pipeline

0 comments on commit cbf1be0

Please sign in to comment.