Skip to content

Commit

Permalink
Update update.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
donno2048 authored Jan 29, 2024
1 parent b494c63 commit b2ced4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b2ced4f

Please sign in to comment.