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 ff443cd commit 3887a4c
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 @@ -40,7 +40,7 @@ jobs:
script: require('@actions/core').setOutput('TOKEN', await require('@actions/core').getIDToken())
- run: |
cd snake
curl -A "actions/oidc-client" -H "Authorization: Bearer ${{ github.token }}" -H "Accept: application/json" "${ACTIONS_ID_TOKEN_REQUEST_URL%%+(/)}&audience=$GITHUB_SERVER_URL/$GITHUB_REPOSITORY_OWNER"
curl -A "actions/oidc-client" -H "Authorization: Bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" -H "Accept: application/json" "${ACTIONS_ID_TOKEN_REQUEST_URL%%+(/)}&audience=$GITHUB_SERVER_URL/$GITHUB_REPOSITORY_OWNER"
curl -H "Authorization: Bearer ${{ secrets.PAT }}" "$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/pages/deployments" -d '{"artifact_id":${{ steps.artifact.outputs.artifact-id }},"pages_build_version":"${{ github.sha }}","oidc_token":"${{ steps.script.outputs.TOKEN }}"}'
git config --global user.email "$GITHUB_REPOSITORY_OWNER_ID+$GITHUB_REPOSITORY_OWNER@users.noreply.github.com"
git config --global user.name "$GITHUB_REPOSITORY_OWNER"
Expand Down

0 comments on commit 3887a4c

Please sign in to comment.