Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
chore(build): add CF deploy (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
asudoh authored Jul 22, 2020
1 parent b735c5b commit a4bbfff
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deploy carbon-custom-elements storybook to IBM Cloud

on:
push:
tags:
- 'v*'

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Install dependencies
run: yarn install
- name: Build project
run: yarn build
- name: Building carbon-custom-elements storybook
run: yarn build-storybook
- name: Deploying carbon-custom-elements storybook to IBM Cloud
uses: carbon-design-system/action-ibmcloud-cf@v1.0.0
with:
cloud-api-key: ${{ secrets.CF_TOKEN }}
cf-org: carbon-design-system
cf-space: production
cf-region: us-south
cf-app: carbon-custom-elements
cf-manifest: manifest.yml

0 comments on commit a4bbfff

Please sign in to comment.