Skip to content

Commit

Permalink
feat: installed pgp key from secret
Browse files Browse the repository at this point in the history
  • Loading branch information
QuadStingray authored Jun 8, 2022
1 parent b14bc08 commit b15f232
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main_test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,18 @@ jobs:
uses: supercharge/mongodb-github-action@1.7.0
with:
mongodb-version: 5.0
- id: install-secret-key
name: Install gpg secret key
run: |
cat <(echo -e "${{ secrets.PGP_KEY }}") | gpg --batch --import
gpg --list-secret-keys --keyid-format LONG
- name: Release
env:
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{ secrets.GH_ADMIN_TOKEN }}
GITHUB_USER: ${{ secrets.GH_USERNAME }}
GITHUB_TOKEN: ${{ secrets.GH_ADMIN_TOKEN }}
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
PGP_KEY: ${{ secrets.PGP_KEY }}
run: |
git config --global user.email "ci@mongocamp.dev"
git config --global user.name "MongoCamp CI"
Expand Down

0 comments on commit b15f232

Please sign in to comment.