Skip to content

Merge pull request #43 from helix-bridge/jay/fix-darwinia-crab-msgline #11

Merge pull request #43 from helix-bridge/jay/fix-darwinia-crab-msgline

Merge pull request #43 from helix-bridge/jay/fix-darwinia-crab-msgline #11

Workflow file for this run

name: Deploy production(xtoken-ui)
on:
push:
tags:
- "ui-*"
env:
DOCKER_REGISTRY: ghcr.io
jobs:
deploy-website:
name: Deploy Website
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 (mainnet)
with:
node_version: 20
vercel_token: ${{ secrets.VERCEL_TOKEN }}
vercel_group: itering
preview_output: true
script_install: npm i
script_build: npm run build:mainnet -w xtoken-ui
dist_path: packages/xtoken-ui/dist
project_name: xtoken-ui
alias_domain: "xtokenui-prd-mainnet"
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-ui (testnet)
with:
node_version: 20
vercel_token: ${{ secrets.VERCEL_TOKEN }}
vercel_group: itering
preview_output: true
script_install: npm i
script_build: npm run build:testnet -w xtoken-ui
dist_path: packages/xtoken-ui/dist
project_name: xtoken-ui-test
alias_domain: "xtokenui-prd-testnet"
prod_mode: true
enable_cache: true
enable_notify_slack: true
slack_channel: helix-ui
slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}