Skip to content

doc[storybook]: add weclome and changlog page #15

doc[storybook]: add weclome and changlog page

doc[storybook]: add weclome and changlog page #15

# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
name: Deployment
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install
- run: npm run build-storybook
env:
CI: false
- name: Pushes to delpoy repository
uses: cpina/github-action-push-to-another-repository@main
env:
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-directory: 'storybook-static'
destination-github-username: 'eizyc'
destination-repository-name: 'eizy-ui-react-doc'
user-email: yizhichen98@gmail.com
target-branch: main