Skip to content

Commit

Permalink
set commit message on deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsobrmlr committed Jan 10, 2023
1 parent 18d7bdf commit 383fdbf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/storybook-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,15 @@ jobs:
rm -rf storybook-build/docs
cp -a posthog/storybook-static storybook-build/docs
- name: Set commit message
id: commit-message
run: echo "msg='Storybook build '$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT

- name: Commit update
uses: stefanzweifel/git-auto-commit-action@v4
with:
repository: storybook-build
commit_message: 'Storybook build'
commit_message: ${{ steps.commit-message.outputs.msg }}
commit_user_name: PostHog Bot
commit_user_email: [email protected]
commit_author: PostHog Bot <[email protected]>

0 comments on commit 383fdbf

Please sign in to comment.