Skip to content

Commit

Permalink
ci: make signed commits when publishing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 authored Feb 29, 2024
1 parent 528b87d commit 69f27e6
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,13 +28,18 @@ jobs:
node-version: lts/*
- run: yarn --frozen-lockfile
- run: yarn build:docs
- uses: malept/github-action-gh-pages@e151760357583e2f9152f8e8c8658ceb3ccf3d64 # tag: v1.3.1
- name: Build docs
uses: malept/github-action-gh-pages@e151760357583e2f9152f8e8c8658ceb3ccf3d64 # tag: v1.3.1
with:
defaultBranch: main
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@1dd0a2d22c564461d3f598b6858856e8842d7a16 # v1.1.0
with:
fail-on-no-changes: false
message: 'Publish [skip ci]'
token: ${{ steps.generate-token.outputs.token }}

0 comments on commit 69f27e6

Please sign in to comment.