manual-deploy #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: manual-deploy | |
on: | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install | |
uses: ./.github/composite-actions/install | |
- name: Install Vercel CLI | |
run: npm install --global vercel@latest --no-save --no-fund --no-audit --no-scripts | |
- name: Pull Vercel Environment Information | |
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} | |
- name: Build Project Artifacts | |
run: npm run build | |
- name: Build Storybook | |
run: npm run storybook:build | |
- name: Deploy Storybook to Vercel | |
run: vercel deploy --token $VERCEL_TOKEN --prod --yes | |
env: | |
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | |
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} | |
VERCEL_TOKEN: ${{secrets.VERCEL_TOKEN}} |