Skip to content

Commit

Permalink
Add gitlab webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS authored Feb 5, 2024
1 parent f0aa623 commit e9e1c9c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,15 @@ jobs:
path: build
# If build didn't put any artifacts in the build folder, consider it an error
if-no-files-found: error
post_webhook:
needs: build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/dev'
steps:
- name: POST Webhook
run: |
curl -X POST \
--fail \
-F token=${{ secrets.GITLAB_SECRET_TOKEN }} \
-F ref=dev \
https://gitlab.edgegamers.io/api/v4/projects/2594/trigger/pipeline

0 comments on commit e9e1c9c

Please sign in to comment.