Skip to content

Merge pull request #7 from helix-bridge/jay/fix-next-images-config #14

Merge pull request #7 from helix-bridge/jay/fix-next-images-config

Merge pull request #7 from helix-bridge/jay/fix-next-images-config #14

Workflow file for this run

name: Deploy production
on:
push:
tags:
- "ui*"
- "home*"
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/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
alias_domain: "xtokenui-prd-main"
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
if: startsWith(github.ref, 'refs/tags/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-test
alias_domain: "xtokenui-prd-test"
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/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
alias_domain: "xtoken-home-prd"
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 }}