Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit edc163b

Browse files
committed
fix testing
1 parent c9e418a commit edc163b

File tree

1 file changed

+1
-1
lines changed
  • github-upload-public-key

1 file changed

+1
-1
lines changed

github-upload-public-key/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ UPLOAD_RESPONSE=$(curl -L -s \
7979
-H "Authorization: Bearer $GITHUB_TOKEN" \
8080
-H "X-GitHub-Api-Version: 2022-11-28" \
8181
https://api.github.com/user/keys \
82-
-d "{\"title\":\"$CODER_PUBLIC_KEY_NAME\",\"key\":\"nah\"}"
82+
-d "{\"title\":\"$CODER_PUBLIC_KEY_NAME\",\"key\":\"$PUBLIC_KEY\"}"
8383
)
8484
UPLOAD_RESPONSE_STATUS=$(tail -n1 <<< "$UPLOAD_RESPONSE")
8585
UPLOAD_RESPONSE_BODY=$(sed \$d <<< "$UPLOAD_RESPONSE")

0 commit comments

Comments
 (0)