Skip to content

Commit

Permalink
ci(release): correct secret access syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy MacDonald <tim.macdonald@lacework.net>
  • Loading branch information
tmac1973 committed Feb 12, 2024
1 parent 127a1f3 commit 3a6fc0f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
run: |
git config --global user.name "tech-ally"
git config --global user.email tech-ally@lacework.net
echo "${{ GPG_SECRET_KEY }}" | base64 --decode | gpg --import --no-tty --batch --yes
git config --global user.signingkey ${{ GPG_SIGNING_KEY }}
echo "${{ secrets.GPG_SECRET_KEY }}" | base64 --decode | gpg --import --no-tty --batch --yes
git config --global user.signingkey ${{ secrets.GPG_SIGNING_KEY }}
git config commit.gpgsign true
poetry run semantic-release version --major
poetry run semantic-release publish
Expand All @@ -59,8 +59,8 @@ jobs:
run: |
git config --global user.name "tech-ally"
git config --global user.email tech-ally@lacework.net
echo "${{ GPG_SECRET_KEY }}" | base64 --decode | gpg --import --no-tty --batch --yes
git config --global user.signingkey ${{ GPG_SIGNING_KEY }}
echo "${{ secrets.GPG_SECRET_KEY }}" | base64 --decode | gpg --import --no-tty --batch --yes
git config --global user.signingkey ${{ secrets.GPG_SIGNING_KEY }}
git config commit.gpgsign true
poetry run semantic-release publish
env:
Expand Down

0 comments on commit 3a6fc0f

Please sign in to comment.