Browse Source

?

Signed-off-by: crueter <crueter@eden-emu.dev>
pull/3010/head
crueter 4 months ago
parent
commit
d0bfe1410e
No known key found for this signature in database GPG Key ID: 425ACD2D4830EBC6
  1. 21
      .github/workflows/translations.yml

21
.github/workflows/translations.yml

@ -43,22 +43,19 @@ jobs:
BODY="Automatic translation update for $(date)"
BASE=master
HEAD=update-translations-$TIMESTAMP
DATA=$(jq -n \
--arg base "$BASE" \
--arg body "$BODY" \
--arg title "$TITLE" \
--arg head "$HEAD" \
'{
"base": "$base",
"body": "$body",
"head": "$head",
"title": "$title"
}')
cat << EOF > data.json
{
"base": "$BASE",
"body": "$BODY",
"head": "$HEAD",
"title": "$TITLE"
}
EOF
curl -X 'POST' \
'https://git.eden-emu.dev/api/v1/repos/eden-emu/eden/pulls' \
-H 'accept: application/json' \
-H 'Authorization: Bearer ${{ secrets.CI_FJ_TOKEN }}' \
-H 'Content-Type: application/json' \
-d "$DATA" --fail
-d "@data.json" --fail
Loading…
Cancel
Save