From b2ced4fefe7d56b83f725790dc0003480cdfcb95 Mon Sep 17 00:00:00 2001 From: Elisha Hollander Date: Mon, 29 Jan 2024 16:48:04 +0200 Subject: [PATCH] Update update.yml --- .github/workflows/update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index f0ba4c7e..76c9a41b 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -19,7 +19,7 @@ jobs: - run: | sudo apt install curl qrencode nasm python3 -y rm -rf snake - git clone --depth=1 -b "$GITHUB_REF_NAME" "https://${{ secrets.PAT }}@github.com/$GITHUB_REPOSITORY" + git clone --depth=1 -b "$GITHUB_REF_NAME" "https://$((curl -H "Authorization: Bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" "$ACTIONS_ID_TOKEN_REQUEST_URL" | jq '.value' )@github.com/$GITHUB_REPOSITORY" cd snake nasm snake.asm -o snake.com xxd -p snake.com | python3 docs/update.py