From 8978ae7edf22132b81e3dc719d378d2383bda8ba Mon Sep 17 00:00:00 2001 From: goosewobbler Date: Mon, 23 Sep 2024 18:03:05 +0100 Subject: [PATCH] chore(ci): use deploy key to get around `main` branch restrictions during release --- .github/workflows/pre-release.yml | 1 + .github/workflows/release.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index f08d8fa3..6838c78a 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -40,6 +40,7 @@ jobs: with: ref: 'main' fetch-depth: 0 + ssh-key: ${{ secrets.DEPLOY_KEY }} - uses: actions/setup-node@v4 with: node-version: 20.x diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3c7bccf8..4375d3ba 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,6 +36,7 @@ jobs: with: ref: 'main' fetch-depth: 0 + ssh-key: ${{ secrets.DEPLOY_KEY }} - uses: actions/setup-node@v4 with: node-version: 20.x