diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index f36d746..7724c3a 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -27,7 +27,7 @@ jobs: needs: build steps: - name: create payload var - runs: | + run: | PAYLOAD=$(cat << EOF payload={ \"username\": \"gitea-bot\", @@ -38,6 +38,6 @@ jobs: ) id: my_payload - name: curl webhook - runs: | + run: | curl --connect-timeout 30 --max-time 60 -s -S -X POST --data-urlencode "${{ env.PAYLOAD }}" "${{ secrets.WEBHOOK_URL }}"