From 555362013078cf56ceb8eba083d3438a95f3ad1c Mon Sep 17 00:00:00 2001 From: Chris Muntean Date: Thu, 26 Dec 2024 03:22:43 -0700 Subject: [PATCH] Trying again with passing the PAT as an environment variable --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b2059c7..431dcde 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,14 +36,15 @@ jobs: echo "new_version=$NEW_VERSION" >> $GITHUB_ENV # Commit the new version - # Another test commit. This is driving me nuts - name: Commit Updated Version + env: + PAT: ${{ secrets.PAT }} run: | git config user.name "GitHub Actions" git config user.email "actions@github.com" git add VERSION git commit -m "Bump version to ${{ env.new_version }}" - git push https://${{ secrets.PAT }}@github.com/chrismuntean/Handify.git HEAD:main + git push https://${PAT}@github.com/chrismuntean/Handify.git HEAD:main # Log in to Docker Hub - name: Log in to Docker Hub