mirror of
https://github.com/ershisan99/flashcards-example-project.git
synced 2025-12-16 12:33:18 +00:00
add ci to deploy storybook
This commit is contained in:
19
.github/workflows/storybook.yml
vendored
Normal file
19
.github/workflows/storybook.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
name: Build and Deploy Storybook
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'master'
|
||||||
|
jobs:
|
||||||
|
build-and-deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout 🛎️
|
||||||
|
uses: actions/checkout@v2.3.1
|
||||||
|
|
||||||
|
- name: Merge master -> storybook-deploy 🚀
|
||||||
|
uses: devmasx/merge-branch@1.4.0
|
||||||
|
with:
|
||||||
|
type: now
|
||||||
|
from_branch: master
|
||||||
|
target_branch: storybook-deploy
|
||||||
|
github_token: ${{ github.token }}
|
||||||
Reference in New Issue
Block a user