Skip to content

Trigger prd

Trigger prd #1

Workflow file for this run

name: Deploy production
on:
push:
tags:
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
repository: darwinia-network/devops
path: .github
- uses: ./.github/actions/smart-vercel
name: Deploy xtoken-ui
if: startsWith(github.ref, 'refs/tags/home')
with:
vercel_token: ${{ secrets.VERCEL_TOKEN }}
vercel_group: itering
preview_output: true
script_run: false
dist_path: packages/xtoken-ui
project_name: xtoken-ui
prod_mode: true
enable_cache: true
enable_notify_slack: true
slack_channel: helix-ui
slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}
- uses: ./.github/actions/smart-vercel
name: Deploy xtoken-home
if: startsWith(github.ref, 'refs/tags/ui')
with:
vercel_token: ${{ secrets.VERCEL_TOKEN }}
vercel_group: itering
preview_output: true
script_build: yarn build:xtoken-home
dist_path: packages/xtoken-home/out
project_name: xtoken-home
prod_mode: true
enable_cache: true
enable_notify_comment: true
enable_notify_slack: true
slack_channel: helix-ui
slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}