Skip to content

Commit

Permalink
ci: more storybook (patw0929#379)
Browse files Browse the repository at this point in the history
* ci: more attempts

* ci: reverse to iterate

* chore: bump storybook-deployer

* ci: no actor?

* ci: token name

* ci: token name

* revert: master deploys, nonmaster dryruns
  • Loading branch information
mcataford authored Aug 4, 2021
1 parent eb73841 commit 2ad2762
Show file tree
Hide file tree
Showing 3 changed files with 236 additions and 160 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
- name: Release
if: ${{ github.ref == 'refs/heads/master' }}
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
yarn
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
- name: Deploy
if: ${{ github.ref == 'refs/heads/master' }}
env:
GH_TOKEN: ${{ github.actor }}:${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}
run: |
yarn
yarn deploy
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"clean": "rimraf dist",
"start": "start-storybook -p 4000 -c .storybook",
"deploy:dryrun": "storybook-to-ghpages --dry-run",
"deploy": "storybook-to-ghpages --ci -t GITHUB_TOKEN",
"deploy": "storybook-to-ghpages -- --ci",
"lint": "eslint src *.js",
"coverage": "yarn run test -- --coverage",
"coveralls": "cross-env NODE_ENV=development cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
Expand Down
Loading

0 comments on commit 2ad2762

Please sign in to comment.