You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/working-notes/vercel/vercel-template.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,17 +5,17 @@ Developer blog built with Astro, with a comprehensive feature set and well-struc
5
5
6
6
Run your coding blog in minutes. Benefit from robust, understandable, well-separated code. Optionally customize design by modifying files in the components folder. Multiple deployment options, Vercel, Nginx, Github Pages and Docker.
@@ -38,7 +38,7 @@ Run your coding blog in minutes. Benefit from robust, understandable, well-separ
38
38
- Vercel, GitHub Pages, Nginx, x86 and arm Docker deployments
39
39
- GitHub Actions workflows and local scripts
40
40
41
-
# Running locally
41
+
##Running locally
42
42
43
43
Install and run project locally for development.
44
44
@@ -64,7 +64,7 @@ pnpm dev
64
64
pnpm clean
65
65
```
66
66
67
-
# Deploying to Vercel
67
+
##Deploying to Vercel
68
68
69
69
### Vercel button
70
70
@@ -76,7 +76,7 @@ By default, the `SITE_URL` environment variable is inferred from the predefined
76
76
77
77
After updating environment variables, you will need to rebuild and redeploy the app for the changes to take effect.
78
78
79
-
####Github Actions
79
+
### Github Actions
80
80
81
81
In Vercel dashboard create a new project and set the environment variables. In Vercel account settings create a access token and set it as `VERCEL_TOKEN` Github repository secret. In Vercel project settings copy your user id and project id and set them as `VERCEL_ORG_ID` and `VERCEL_PROJECT_ID` Github repository secrets.
0 commit comments