Skip to content

github pages release #96

github pages release

github pages release #96

Workflow file for this run

name: github pages release
on: workflow_dispatch
# push:
# branches:
# - main
# paths:
# - '.storybook'
# - 'public'
# - 'src'
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
steps:
- uses: actions/checkout@v2
- name: Build
uses: actions/setup-node@v2
with:
node-version: '14.x'
- name: Build site
env:
CI: false
run: |
ls
npm install
npm run build
- name: Build storybook
env:
CI: false
run: |
ls
npm run build.storybook
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
cname: www.saucedemo.com