Skip to content

Commit

Permalink
Smart wallet github deploy action (#883)
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJay1024 authored Dec 9, 2024
1 parent 6aeddfc commit b387325
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/smart-wallet-deploy-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Deploy stg (smart wallet)

on:
push:
branches: [main]
paths: ["apps/smart-wallet/**"]
workflow_dispatch:

jobs:
deploy-package:
name: Deploy package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install pnpm
uses: pnpm/action-setup@v4

- uses: darwinia-network/devops/actions/smart-vercel@main
name: Deploy app
with:
node_version: 20
vercel_token: ${{ secrets.VERCEL_TOKEN }}
vercel_group: itering
preview_section: helix-app-testnet
preview_output: true
alias_domain: "smart-wallet-dev"
project_name: "helix-apps-test"
script_install: pnpm install
script_build: pnpm --filter smart-wallet run build
dist_path: apps/smart-wallet/dist
slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}

0 comments on commit b387325

Please sign in to comment.