Skip to content

deploy

deploy #654

Workflow file for this run

name: deploy
on:
workflow_dispatch:
schedule:
# At the end of every day
- cron: "0 0 * * *"
env:
GH_NPM_REGISTRY_TOKEN: ${{ secrets.GH_NPM_REGISTRY_TOKEN }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout DUF
uses: actions/checkout@v2
with:
repository: UiPath/apollo-lab
ref: master
token: ${{ secrets.GH_CHECKOUT_TOKEN }}
- name: Node (LTS)
uses: actions/setup-node@v1
with:
node-version: "14.x"
- name: Restore all dependencies
run: npm run ci:all
- name: Build Storybook
run: npm run build:storybook
- name: Deploy storybook
uses: peaceiris/[email protected]
with:
github_token: ${{ github.token }}
publish_dir: ./storybook/dist
force_orphan: true
full_commit_message: "chore: update Storybook"