Skip to content

Update ci (#5)

Update ci (#5) #1

Workflow file for this run

name: Deploy staging
on:
push:
branches: [main]
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
dist_path: .next
script_run: false
dist_path: packages/xtoken-ui

Check failure on line 27 in .github/workflows/deploy-stg.yml

View workflow run for this annotation

GitHub Actions / Deploy staging

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-stg.yml (Line: 27, Col: 11): 'dist_path' is already defined
project_name: xtoken-ui
alias_domain: "xtoken-stg"
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
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-stg"
enable_cache: true
enable_notify_slack: true
slack_channel: helix-ui
slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}