Skip to content

Commit

Permalink
ci: make signed commits when publishing docs (#1682)
Browse files Browse the repository at this point in the history
* ci: make signed commits when publishing docs

* ci: update malept/github-action-gh-pages version
  • Loading branch information
dsanders11 committed Mar 21, 2024
1 parent 4698a59 commit 3b368b9
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
id: generate-token
with:
creds: ${{ secrets.GH_APP_CREDS }}
export-git-user: true
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag: v4.1.1
with:
token: ${{ steps.generate-token.outputs.token }}
Expand All @@ -29,14 +28,19 @@ jobs:
node-version: lts/*
- run: yarn install --frozen-lockfile
- run: yarn run docs:build
- uses: malept/github-action-gh-pages@e151760357583e2f9152f8e8c8658ceb3ccf3d64 # tag: v1.3.1
- name: Prepare docs
uses: malept/github-action-gh-pages@f7952a65c4b763dc84b824a530dc38bd375ac91e # tag: v1.4.0
with:
defaultBranch: main
docsPath: typedoc
gitCommitEmail: ${{ env.GIT_COMMITTER_EMAIL }}
gitCommitMessage: 'Publish [skip ci]'
gitCommitUser: ${{ env.GIT_COMMITTER_NAME }}
noCommit: true
showUnderscoreFiles: true
versionDocs: true
env:
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
- name: Commit docs
uses: dsanders11/github-app-commit-action@56f54b482f8019a16d8f8b0bfbbc9fa3ee9802e8 # v1.3.0
with:
fail-on-no-changes: false
message: 'Publish [skip ci]'
token: ${{ steps.generate-token.outputs.token }}

0 comments on commit 3b368b9

Please sign in to comment.