ci: switch to tokens

This commit is contained in:
goat 2023-05-25 19:39:52 +02:00 committed by GitHub
parent 067896b80a
commit 17254f323d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,7 @@ jobs:
- uses: actions/checkout@v2
with:
repository: goatcorp/dalamud-distrib
ssh-key: ${{ secrets.DEPLOY_SSH }}
token: ${{ secrets.UPDATE_PAT }}
- uses: actions/download-artifact@v2
with:
name: dalamud-artifact
@ -96,13 +96,8 @@ jobs:
- name: Commit changes
shell: bash
env:
DEPLOY_SSH: ${{ secrets.DEPLOY_SSH }}
GIT_SSH_COMMAND: "ssh -o StrictHostKeyChecking=no"
GH_BRANCH: ${{ steps.extract_branch.outputs.branch }}
run: |
eval "$(ssh-agent -s)"
ssh-add - <<< "${DEPLOY_SSH}"
git config --global user.name "Actions User"
git config --global user.email "actions@github.com"