fix + debug: actually implement what I wanted
This commit is contained in:
parent
dcc3bd9ce6
commit
1c9483ce01
1 changed files with 3 additions and 1 deletions
|
|
@ -22,7 +22,9 @@ runs:
|
|||
run: |
|
||||
# echo "url is: $ACTIONS_ID_TOKEN_REQUEST_URL"
|
||||
# curl -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" "$ACTIONS_ID_TOKEN_REQUEST_URL&audience=https://niks3.tami.moe" > /run/niks3-auth-token
|
||||
token_file=$($RUNNER_TEMP)
|
||||
echo "starting..."
|
||||
token_file=$(mktemp)
|
||||
echo "$token_file"
|
||||
printf '%s' "$TOKEN" > "$token_file"
|
||||
export NIKS3_AUTH_TOKEN_FILE="$token_file"
|
||||
niks3 push --pin "$NAME" "$(realpath result)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue