From 5318f623542d8fafa6568309ecc317315ebdbb76 Mon Sep 17 00:00:00 2001 From: Jamison Lahman Date: Fri, 27 Dec 2024 00:21:50 -0800 Subject: [PATCH] configure deploy key --- .github/workflows/nightly.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 11700ad..459edb5 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -10,6 +10,8 @@ on: jobs: run-command: runs-on: ubuntu-latest + environment: + name: release permissions: contents: write pull-requests: write @@ -22,7 +24,7 @@ jobs: # https://github.com/orgs/community/discussions/65321#discussioncomment-8003574 - uses: webfactory/ssh-agent@v0.9.0 with: - ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} + ssh-private-key: ${{ secrets.DEPLOY_KEY }} - run: | git config user.name "github-actions[bot]" git config user.email "41898282+github-actions[bot]@users.noreply.github.com"