Skip to content

[CONFIG] - use the railway endpoint as API inside frontend-railway.json #804

[CONFIG] - use the railway endpoint as API inside frontend-railway.json

[CONFIG] - use the railway endpoint as API inside frontend-railway.json #804

Workflow file for this run

name: Build & Deploy Storybook
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install and Build
run: |
yarn
yarn run build-storybook
- uses: "finnp/create-file-action@master"
env:
FILE_NAME: "storybook-static/CNAME"
FILE_DATA: "storybook.frontend.ro"
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: storybook-static # The folder the action should deploy.