Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
finwise-miniapp-fe
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ThinhNC
finwise-miniapp-fe
Commits
4f71417f
Commit
4f71417f
authored
Oct 15, 2026
by
ThinhNC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: setup gitlab ci auto deployment to vercel
parent
c0bf74fe
Pipeline
#53697
failed
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
0 deletions
+42
-0
.gitignore
.gitignore
+3
-0
.gitlab-ci.yml
.gitlab-ci.yml
+30
-0
vercel.json
vercel.json
+9
-0
No files found.
.gitignore
View file @
4f71417f
...
...
@@ -38,3 +38,6 @@ Thumbs.db
# Production build
www/
.vercel
.env*
.gitlab-ci.yml
0 → 100644
View file @
4f71417f
stages
:
-
deploy
default
:
image
:
node:20-alpine
# Tự động deploy Production khi push / merge vào nhánh master
deploy_production
:
stage
:
deploy
only
:
-
master
before_script
:
-
npm install -g vercel
script
:
-
vercel pull --yes --environment=production --token=$VERCEL_TOKEN
-
vercel build --prod --token=$VERCEL_TOKEN
-
vercel deploy --prebuilt --prod --token=$VERCEL_TOKEN
# Deploy Preview khi push vào nhánh develop hoặc tạo Merge Request
deploy_preview
:
stage
:
deploy
only
:
-
develop
-
merge_requests
before_script
:
-
npm install -g vercel
script
:
-
vercel pull --yes --environment=preview --token=$VERCEL_TOKEN
-
vercel build --token=$VERCEL_TOKEN
-
vercel deploy --prebuilt --token=$VERCEL_TOKEN
vercel.json
0 → 100644
View file @
4f71417f
{
"outputDirectory"
:
"www"
,
"rewrites"
:
[
{
"source"
:
"/(.*)"
,
"destination"
:
"/index.html"
}
]
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment