Переменная вместо ссылки

This commit is contained in:
bogdan zažigin 2023-03-16 19:21:16 +03:00
parent 33f96ac19e
commit a441fcc6f0
Signed by: zaboal
GPG key ID: C9918166D559FE8A
2 changed files with 5 additions and 1 deletions

View file

@ -2,4 +2,4 @@ image: curl:latest
publish:
script:
- "curl --header 'Content-Type: application/json' --data @intro.json https://discord.com/api/webhooks/1083770245656879154/8gsyMduE3NE1Hq_-WAVP53nEcMkJPUEikN5_dohzZcXucedOwKYsudWy9lLc4WV0KAeM"
- "curl --header 'Content-Type: application/json' --data @intro.json $DISCORD_WEBHOOK_URL"

4
send.sh Executable file
View file

@ -0,0 +1,4 @@
curl --header "Content-Type: application/json" \
--data @intro.json \
https://discord.com/api/webhooks/1083770245656879154/8gsyMduE3NE1Hq_-WAVP53nEcMkJPUEikN5_dohzZcXucedOwKYsudWy9lLc4WV0KAeM