-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (29 loc) · 892 Bytes
/
Copy pathdeploy.yml
File metadata and controls
29 lines (29 loc) · 892 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Deploy NameStake
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: npm ci
- run: npm run build
env:
VITE_CONTRACT_ID: ${{ secrets.VITE_CONTRACT_ID }}
VITE_XLM_TOKEN: ${{ secrets.VITE_XLM_TOKEN }}
VITE_NETWORK_PASSPHRASE: "Test SDF Network ; September 2015"
VITE_SOROBAN_RPC_URL: https://soroban-testnet.stellar.org
- uses: amondnet/vercel-action@v25
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
working-directory: frontend
vercel-args: '--prod'