Skip to content

Commit

Permalink
Trying again with passing the PAT as an environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismuntean committed Dec 26, 2024
1 parent aca30dd commit 5553620
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5553620

Please sign in to comment.