Skip to content

Commit

Permalink
WIP: use the SSH key but not the GIT_USER or GIT_PASS
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrake committed Dec 23, 2023
1 parent 9270acf commit 31cf9b3
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ jobs:
# This GPG key is for the `phylum-bot` account and used in order to ensure commits are signed/verified
# It is also required for the push to the `gh-pages` branch since GitHub removed support for password
# authentication on August 13, 2021 and the Docusaurus deploy command uses passwords (or PATs) by default.
# - name: Import GPG key for bot account
# uses: crazy-max/ghaction-import-gpg@82a020f1f7f605c65dd2449b392a52c3fcfef7ef # v6.0.0
# with:
# gpg_private_key: ${{ secrets.PHYLUM_BOT_GPG_PRIVATE_KEY }}
# passphrase: ${{ secrets.PHYLUM_BOT_GPG_PASSPHRASE }}
# git_user_signingkey: true
# git_commit_gpgsign: true
- name: Import GPG key for bot account
uses: crazy-max/ghaction-import-gpg@82a020f1f7f605c65dd2449b392a52c3fcfef7ef # v6.0.0
with:
gpg_private_key: ${{ secrets.PHYLUM_BOT_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PHYLUM_BOT_GPG_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true

- name: Install local website package
working-directory: ./site
Expand All @@ -45,8 +45,8 @@ jobs:
working-directory: ./site
env:
USE_SSH: true
GIT_USER: 'phylum-bot'
GIT_PASS: ${{ secrets.GH_RELEASE_PAT }}
# GIT_USER: 'phylum-bot'
# GIT_PASS: ${{ secrets.GH_RELEASE_PAT }}
GIT_USER_NAME: 'phylum-bot'
GIT_USER_EMAIL: '[email protected]'
run: npm run deploy

0 comments on commit 31cf9b3

Please sign in to comment.