Skip to content

Commit

Permalink
build: prd ci (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
WoeOm authored May 12, 2023
1 parent af42703 commit fd4b509
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/deploy-prd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,28 @@ jobs:
with:
vercel_token: ${{ secrets.VERCEL_TOKEN }}
vercel_group: itering
project_name: subscan-pro-lowcode
preview_output: true
prod_mode: true
project_name: subscan-pro-lowcode
dist_path: build
script_build: yarn build
enable_cache: true
cache_type: yarn
alias_domain: subscan-pro-lowcode

- uses: marocchino/sticky-pull-request-comment@v2
with:
append: true
message: ${{ steps.smart-vercel.outputs.PREVIEW_OUTPUT }}

- name: Slack Notification
if: failure()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL_ID }}
SLACK_COLOR: ${{ job.status }}
SLACK_ICON: https://avatars.github.com/u/14985020?s=48&v=4
SLACK_MESSAGE: "${{ steps.smart-vercel.outputs.PREVIEW_LINK }}"
SLACK_TITLE: Preview
SLACK_USERNAME: Vercel
SLACK_WEBHOOK: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}

0 comments on commit fd4b509

Please sign in to comment.