Skip to content

Update ci

Update ci #3

Workflow file for this run

name: Deploy develop
on:
pull_request:
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
with:
vercel_token: ${{ secrets.VERCEL_TOKEN }}
vercel_group: itering
preview_output: true
script_run: false
dist_path: packages/xtoken-ui
project_name: xtoken-ui
enable_cache: true
enable_notify_comment: 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
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
enable_cache: true
enable_notify_comment: true
enable_notify_slack: true
slack_channel: helix-ui
slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}