Skip to content

Commit

Permalink
Add GITHUB_TOKEN for auth to push to gh-pages
Browse files Browse the repository at this point in the history
Storybook deployer requires [GH_TOKEN] var https://github.com/storybookjs/storybook-deployer#storybook-deployer

This [issue](storybook-eol/storybook-deployer#77) reccomend scoping it to the current actor
  • Loading branch information
coreyar committed Mar 16, 2022
1 parent 936e517 commit 5e7db84
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ jobs:

- name: Deploy
if: github.ref == 'refs/heads/develop'
run: yarn deploy-storybook
run: yarn deploy-storybook --ci
env:
GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}

test:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 5e7db84

Please sign in to comment.