diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4fb5d7f..b0929a8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,7 +15,11 @@ jobs: shell: bash run: | curl \ + --fail \ + --silent \ --request POST \ --form token=${{ secrets.CI_TOKEN }} \ - --form ref=$GITHUB_REF_NAME \ - ${{ secrets.CI_WEBHOOK_URL }} \ No newline at end of file + --form ref=main \ + --form 'variables[GITHUB_BRANCH]'=$GITHUB_REF_NAME + ${{ secrets.CI_WEBHOOK_URL }} \ + &> /dev/null \ No newline at end of file