Skip to content

polkadot-support

polkadot-support #196

name: modal-storybook-preview
on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- 'sdk/packages/modal/**'
jobs:
upload:
runs-on: [testing]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Deploy to Vercel Action
id: vercel-deploy
uses: BetaHuhn/deploy-to-vercel-action@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_NIGHTLY_CONNECT_MODAL_STORYBOOK }}
VERCEL_SCOPE: ${{ secrets.VERCEL_ORG_ID }}
PRODUCTION: false
CREATE_COMMENT: false
GITHUB_DEPLOYMENT: false
- uses: thollander/actions-comment-pull-request@v1
with:
message: πŸ€™πŸ€™πŸ€™πŸ€™ STORYBOOK πŸ€™πŸ€™πŸ€™πŸ€™
<table>
<tr>
<td><strong>βœ… Preview:</strong></td>
<td><a href='${{ steps.vercel-deploy.outputs.PREVIEW_URL }}'>${{ steps.vercel-deploy.outputs.PREVIEW_URL }}</a></td>
</tr>
</table>
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}