diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index cad45637..ff9058e1 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -33,3 +33,16 @@ 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 \ No newline at end of file