Skip to content

Merge branch 'feature-story-book' into main #17

Merge branch 'feature-story-book' into main

Merge branch 'feature-story-book' into main #17

Workflow file for this run

name: DeployGihubPage
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- run: |
yarn install
yarn build
yarn build-storybook
touch ./dist/.nojekyll
git config --global user.email "[email protected]"
git config --global user.name "git workflows"
git add dist/ -f
git commit -m "Deploy gh-pages"
#git subtree push --prefix dist origin gh-pages
git subtree split --prefix dist -b gh-pages
git push -f origin gh-pages:gh-pages
git branch -D gh-pages