fix the way the data is uploaded

This commit is contained in:
Charlotte 🦝 Delenk 2022-06-24 08:37:44 +01:00
parent fb49d19451
commit fd10cb473a
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -39,7 +39,7 @@ steps:
commands:
- apk add jq curl
- |
echo '{ "assignee": "DarkKirb", "base": "main", "head": "update-packages", "title": "Update packages" }' | jq '.body = $body' --arg body "$(cat ../pr-message.txt)" | curl -XPOST 'https://git.chir.rs/api/v1/repos/DarkKirb/nix-packages/pulls' -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer $AUTHORISATION" -d-
echo '{ "assignee": "DarkKirb", "base": "main", "head": "update-packages", "title": "Update packages" }' | jq '.body = $body' --arg body "$(cat ../pr-message.txt)" | curl -XPOST 'https://git.chir.rs/api/v1/repos/DarkKirb/nix-packages/pulls' -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer $AUTHORISATION" --data-binary @-
environment:
AUTHORISATION:
from_secret: GITEA_KEY