diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 6d1b1d6..b47d7be 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -39,9 +39,9 @@ jobs: id: my_payload - name: debug run: | - echo "${{ env.PAYLOAD }}" - echo "${{ secrets.WEBHOOK_URL }}" + echo "${{ vars.PAYLOAD }}" + echo "${{ vars.WEBHOOK_URL }}" - name: curl webhook run: | - curl --connect-timeout 30 --max-time 60 -s -S -X POST --data-urlencode "${{ env.PAYLOAD }}" "${{ secrets.WEBHOOK_URL }}" + curl --connect-timeout 30 --max-time 60 -s -S -X POST --data-urlencode "${{ vars.PAYLOAD }}" "${{ vars.WEBHOOK_URL }}"