Skip to content

Commit

Permalink
Implemented commit signing for docs action
Browse files Browse the repository at this point in the history
  • Loading branch information
CryZo committed Mar 31, 2024
1 parent ff88887 commit e4fae11
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,19 @@ jobs:
with:
persist-credentials: false

- name: Generate Readme
run: bash ${GITHUB_WORKSPACE}/scripts/generate-readme.sh

- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.BOT_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.BOT_GPG_PASSPHRASE }}
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
git_config_global: true
git_user_signingkey: true
git_commit_gpgsign: true
git_push_gpgsign: true

- name: Generate Readme
run: bash ${GITHUB_WORKSPACE}/scripts/generate-readme.sh

- name: Sign commit and push changes
run: |
git add .
Expand Down

0 comments on commit e4fae11

Please sign in to comment.