-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy-config.json
More file actions
60 lines (60 loc) · 1.57 KB
/
Copy pathdeploy-config.json
File metadata and controls
60 lines (60 loc) · 1.57 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"githubPages": {
"description": "Deploy to GitHub Pages",
"requirements": [
"Enable Pages in repository settings",
"Set source to 'GitHub Actions'"
],
"steps": [
"Push to main/master branch",
"GitHub Actions will automatically build and deploy"
]
},
"netlify": {
"description": "Deploy to Netlify",
"requirements": [
"Create Netlify account",
"Install Netlify CLI: npm install -g netlify-cli",
"Set NETLIFY_AUTH_TOKEN and NETLIFY_SITE_ID secrets in repository"
],
"steps": [
"Push to main/master branch",
"GitHub Actions will automatically build and deploy to Netlify"
]
},
"vercel": {
"description": "Deploy to Vercel",
"requirements": [
"Create Vercel account",
"Install Vercel CLI: npm install -g vercel",
"Run: vercel --prod in project directory"
],
"steps": [
"Install Vercel CLI",
"Run: vercel --prod",
"Follow CLI prompts to deploy"
]
},
"surge": {
"description": "Deploy to Surge.sh",
"requirements": [
"Install Surge: npm install -g surge",
"Run: surge dist/ your-domain.surge.sh"
],
"steps": [
"Build project: npm run build",
"Deploy: surge dist/ your-chosen-domain.surge.sh"
]
},
"manual": {
"description": "Manual deployment",
"requirements": [
"Web server with static file support"
],
"steps": [
"Build project: npm run build",
"Upload contents of 'dist' folder to web server",
"Configure server to serve index.html as default page"
]
}
}