File tree Expand file tree Collapse file tree 4 files changed +61
-9
lines changed
Expand file tree Collapse file tree 4 files changed +61
-9
lines changed Original file line number Diff line number Diff line change 1+ name : client-deploy.ci
2+ env :
3+ VERCEL_ORG_ID : ${{ secrets.VERCEL_ORG_ID }}
4+ VERCEL_PROJECT_ID : ${{ secrets.VERCEL_PROJECT_ID }}
5+ on :
6+ workflow_run :
7+ workflows : ['client.ci']
8+ types :
9+ - completed
10+
11+ jobs :
12+
13+ Deploy-Preview :
14+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout Code
18+ - uses : actions/checkout@v4
19+ with :
20+ ref : ${{ github.event.workflow_run.head_sha }}
21+
22+ - name : Install Vercel
23+ run : npm install --global vercel@latest
24+
25+ - name : Pull Vercel
26+ run : vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
27+
28+ - name : Build Artifacts
29+ run : vercel build --token=${{ secrets.VERCEL_TOKEN }}
30+
31+ - name : Deploy Project to Vercel
32+ run : vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
Original file line number Diff line number Diff line change 1616 background : linear-gradient (
1717 to right ,
1818 transparent 0% ,
19- rgba (129 128 128 ) 50% ,
19+ rgb (129 128 128 ) 50% ,
2020 transparent 100%
2121 );
2222 content : " " ;
Original file line number Diff line number Diff line change 1010 justify-content : flex-start ;
1111}
1212
13+ <<<<<<< HEAD
1314.justify_center {
1415 justify-content : center ;
1516}
1920}
2021
2122.justify_between {
23+ =======
24+ .justifyCenter {
25+ justify-content : center ;
26+ }
27+
28+ .justifyEnd {
29+ justify-content : flex-end ;
30+ }
31+
32+ .justifyBetween {
33+ >>>>>>> 49a 49fd (fix : client lint error)
2234 justify-content : space-between ;
2335}
2436
2537.align_start {
2638 align-items : flex-start ;
2739}
2840
41+ <<<<<<< HEAD
2942.align_center {
3043 align-items : center ;
3144}
3245
3346.align_end {
47+ =======
48+ .alignCenter {
49+ align-items : center ;
50+ }
51+
52+ .alignEnd {
53+ >>>>>>> 49a 49fd (fix : client lint error)
3454 align-items : flex-end ;
3555}
3656
Original file line number Diff line number Diff line change 1- #! /bin/sh
2- set -e
1+ #! /bin/sh
2+ set -e
33
4- echo " [DEBUG] Waiting for postgres (sleeping 5s)..."
5- sleep 5
4+ echo " [DEBUG] Waiting for postgres (sleeping 5s)..."
5+ sleep 5
66
7- echo " [DEBUG] Start prisma migration"
8- npx prisma migrate deploy
7+ echo " [DEBUG] Start prisma migration"
8+ npx prisma migrate deploy
99
10- echo " [DEBUG] Starting application..."
11- exec node dist/src/main.js
10+ echo " [DEBUG] Starting application..."
11+ exec node dist/src/main.js
You can’t perform that action at this time.
0 commit comments