Skip to content

Deploy

Deploy #5

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
container:
image: ruby:2.7.7-alpine3.16
steps:
- name: Install dependencies
env:
BUILD_PACKAGES: bash build-base cyrus-sasl-dev git git-subtree libtool libsasl snappy-dev tzdata tar curl xz
run: |
apk add --update --no-cache $BUILD_PACKAGES
- name: Install Bundler 2.3.22
run: gem install bundler:2.3.22
- name: Set Node Version
uses: actions/setup-node@v3
with:
node-version: "16"
- name: Install Yarn
run: npm install -g yarn
- name: Documentation Site Deploy
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
HEROKU_DOCS_APP_NAME: ${{ secrets.HEROKU_DOCS_APP_NAME }}
run: yarn docs:deploy
- name: Storybook Site Deploy
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
HEROKU_STORYBOOK_APP_NAME: ${{ secrets.HEROKU_STORYBOOK_APP_NAME }}
run: yarn storybook:deploy
- name: SassDocs Site Deploy
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
HEROKU_SASSDOCS_APP_NAME: ${{ secrets.HEROKU_SASSDOCS_APP_NAME }}
run: yarn sassdocs:deploy