PromucFlow_constructor/.github/workflows/build-wds-preview.yml
Sumesh Pradhan 20b46ea48b
ci: storybook build and deploy for appsmith wds (#21433)
- Removed WDS storybook from the client build.sh.
- Added workflow to deploy Vercel previews for release and prod.
- Added workflow to trigger event on commenting `/build-wds-preview` to
a PR.
2023-03-21 10:36:40 +05:30

23 lines
591 B
YAML

# If someone with write access comments "/build-wds-preview" on a pull request, emit a repository_dispatch event
name: Build WDS Preview
on:
issue_comment:
types: [created]
jobs:
build-deploy-preview:
runs-on: ubuntu-latest
# Only run for PRs, not issue comments
if: |
github.event.issue.pull_request
steps:
- name: Slash Command Dispatch
uses: peter-evans/slash-command-dispatch@v3
with:
issue-type: pull-request
token: ${{ secrets.APPSMITH_DEPLOY_PREVIEW_PAT }}
commands: |
build-wds-preview