Add actor to the GH token and set source branch to main
This commit is contained in:
Stephan
2022-10-04 09:25:55 +02:00
committed by GitHub
parent 40878502a3
commit e2f03b7c89
+3 -1
View File
@@ -20,4 +20,6 @@ jobs:
- name: Install deploy-storybook - name: Install deploy-storybook
run: npm i -g @storybook/storybook-deployer run: npm i -g @storybook/storybook-deployer
- name: Build and deploy - name: Build and deploy
run: npx -p @storybook/storybook-deployer storybook-to-ghpages -- --ci --branch=gh-pages run: npx -p @storybook/storybook-deployer storybook-to-ghpages -- --ci --branch=gh-pages --source-branch=main
env:
GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}