diff --git a/.gitea/workflows/update.yaml b/.gitea/workflows/update.yaml index 289c0eb..e2aed07 100644 --- a/.gitea/workflows/update.yaml +++ b/.gitea/workflows/update.yaml @@ -36,14 +36,14 @@ jobs: PR_RESPONSE=$(curl -s -X POST -H "Authorization: token $PAT" \ -H "Content-Type: application/json" \ -d '{"title":"update","body":"automatic update","head":"update","base":"main"}' \ - "https://$URL/api/v1/repos/$REPO_OWNER_SLASH_NAME/pulls") + "$URL/api/v1/repos/$REPO_OWNER_SLASH_NAME/pulls") PR_NUMBER=$(echo "$PR_RESPONSE" | jq -r '.number') curl -s -X POST -H "Authorization: token $PAT" \ -H "Content-Type: application/json" \ -d '{"Do":"merge","merge_when_checks_succeed":true,"delete_branch_after_merge":true}' \ - "https://$URL/api/v1/repos/$REPO_OWNER_SLASH_NAME/pulls/$PR_NUMBER/merge" + "$URL/api/v1/repos/$REPO_OWNER_SLASH_NAME/pulls/$PR_NUMBER/merge" else git push origin update --force