Attempt at fixing storybook deploy
This commit is contained in:
parent
8c61339a7c
commit
ce459d95f8
17
.github/workflows/ci.yaml
vendored
17
.github/workflows/ci.yaml
vendored
|
@ -34,20 +34,6 @@ jobs:
|
|||
name: build
|
||||
path: build
|
||||
|
||||
deploy_storybook:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2.1.3
|
||||
with:
|
||||
node-version: '16'
|
||||
- uses: bahmutov/npm-install@v1
|
||||
- run: yarn build-storybook -o ./build_storybook
|
||||
- run: git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${{github.repository}}.git
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- run: npx -y -p gh-pages@3.1.0 gh-pages -d ./build_storybook --dest storybook --add -u "github-actions-bot <actions@github.com>"
|
||||
|
||||
check_if_version_upgraded:
|
||||
name: Check if version upgrade
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -87,7 +73,8 @@ jobs:
|
|||
- run: git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${{github.repository}}.git
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- run: npx -y -p gh-pages@3.1.0 gh-pages -d build -u "github-actions-bot <actions@github.com>"
|
||||
- run: npx -y -p gh-pages@3.1.0 gh-pages -u "github-actions-bot <actions@github.com>" -d build
|
||||
- run: npx -y -p gh-pages@3.1.0 gh-pages -u "github-actions-bot <actions@github.com>" -d build_storybook --dest storybook --add
|
||||
|
||||
docker:
|
||||
needs:
|
||||
|
|
Loading…
Reference in a new issue