Skip to content

Commit

Permalink
Reverted back to calling PAT directly from secrets and specified envi…
Browse files Browse the repository at this point in the history
…ronment secrets zone
  • Loading branch information
chrismuntean committed Dec 26, 2024
1 parent 92671f6 commit 9f44e41
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
jobs:
build-and-push:
runs-on: ubuntu-latest
environment: Release Authentication

steps:
# Checkout the repository
Expand Down Expand Up @@ -36,14 +37,12 @@ jobs:
# Commit the new version
- 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://${PAT}@github.com/chrismuntean/Handify.git HEAD:main
git push https://${{ secrets.PAT }}@github.com/chrismuntean/Handify.git HEAD:main
# Log in to Docker Hub
- name: Log in to Docker Hub
Expand Down

0 comments on commit 9f44e41

Please sign in to comment.