ci: add vercel tag deplou
This commit is contained in:
25
.github/workflows/vercel.yml
vendored
Normal file
25
.github/workflows/vercel.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
name: Production Tag Deployment
|
||||||
|
|
||||||
|
env:
|
||||||
|
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
|
||||||
|
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
# Pattern matched against refs/tags
|
||||||
|
tags:
|
||||||
|
- '*' # Push events to every tag not containing /
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Deploy-Production:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Install Vercel CLI
|
||||||
|
run: npm install --global vercel@latest
|
||||||
|
- name: Pull Vercel Environment Information
|
||||||
|
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
|
||||||
|
- name: Build Project Artifacts
|
||||||
|
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
|
||||||
|
- name: Deploy Project Artifacts to Vercel
|
||||||
|
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -17,3 +17,4 @@ dist
|
|||||||
.nuxt
|
.nuxt
|
||||||
.env
|
.env
|
||||||
.idea/
|
.idea/
|
||||||
|
.vercel
|
||||||
|
|||||||
70
package.json
70
package.json
@@ -2,7 +2,7 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "1.2.2",
|
"version": "1.2.2",
|
||||||
"private": true,
|
"private": true,
|
||||||
"packageManager": "pnpm@9.0.6",
|
"packageManager": "pnpm@9.10.0",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16"
|
"node": ">=16"
|
||||||
},
|
},
|
||||||
@@ -24,50 +24,50 @@
|
|||||||
"typecheck": "vue-tsc --noEmit"
|
"typecheck": "vue-tsc --noEmit"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"dayjs": "^1.11.10",
|
"dayjs": "^1.11.13",
|
||||||
"vue-about-me": "^1.2.7"
|
"vue-about-me": "^1.2.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@antfu/eslint-config": "^2.16.0",
|
"@antfu/eslint-config": "^2.26.1",
|
||||||
"@headlessui/vue": "^1.7.21",
|
"@headlessui/vue": "^1.7.22",
|
||||||
"@iconify-json/carbon": "^1.1.31",
|
"@iconify-json/carbon": "^1.1.37",
|
||||||
"@iconify-json/fe": "^1.1.10",
|
"@iconify-json/fe": "^1.1.11",
|
||||||
"@iconify-json/gg": "^1.1.9",
|
"@iconify-json/gg": "^1.1.10",
|
||||||
"@iconify-json/ic": "^1.1.17",
|
"@iconify-json/ic": "^1.1.18",
|
||||||
"@iconify-json/mdi": "^1.1.66",
|
"@iconify-json/mdi": "^1.1.68",
|
||||||
"@iconify-json/ri": "^1.1.20",
|
"@iconify-json/ri": "^1.1.22",
|
||||||
"@iconify-json/twemoji": "^1.1.15",
|
"@iconify-json/twemoji": "^1.1.16",
|
||||||
"@nuxt/devtools": "^1.2.0",
|
"@nuxt/devtools": "^1.3.14",
|
||||||
"@nuxt/test-utils": "^3.12.1",
|
"@nuxt/test-utils": "^3.14.1",
|
||||||
"@nuxtjs/color-mode": "^3.4.1",
|
"@nuxtjs/color-mode": "^3.4.4",
|
||||||
"@pinia/nuxt": "^0.5.1",
|
"@pinia/nuxt": "^0.5.3",
|
||||||
"@pinia/testing": "^0.1.3",
|
"@pinia/testing": "^0.1.5",
|
||||||
"@unocss/eslint-config": "^0.59.4",
|
"@unocss/eslint-config": "^0.62.2",
|
||||||
"@unocss/nuxt": "^0.59.4",
|
"@unocss/nuxt": "^0.62.2",
|
||||||
"@vite-pwa/nuxt": "^0.6.0",
|
"@vite-pwa/nuxt": "^0.10.0",
|
||||||
"@vue/test-utils": "^2.4.5",
|
"@vue/test-utils": "^2.4.6",
|
||||||
"@vueuse/nuxt": "^10.9.0",
|
"@vueuse/nuxt": "^11.0.1",
|
||||||
"@yunlefun/vue": "^0.1.1",
|
"@yunlefun/vue": "^0.1.1",
|
||||||
"@zadigetvoltaire/nuxt-gtm": "^0.0.13",
|
"@zadigetvoltaire/nuxt-gtm": "^0.0.13",
|
||||||
"bumpp": "^9.4.0",
|
"bumpp": "^9.5.1",
|
||||||
"consola": "^3.2.3",
|
"consola": "^3.2.3",
|
||||||
"dexie": "^4.0.4",
|
"dexie": "^4.0.8",
|
||||||
"eslint": "^9.1.1",
|
"eslint": "^9.9.0",
|
||||||
"eslint-plugin-format": "^0.1.1",
|
"eslint-plugin-format": "^0.1.2",
|
||||||
"fake-indexeddb": "^5.0.2",
|
"fake-indexeddb": "^6.0.0",
|
||||||
"happy-dom": "^14.7.1",
|
"happy-dom": "^14.12.3",
|
||||||
"jsdom": "^24.0.0",
|
"jsdom": "^24.1.1",
|
||||||
"nuxt": "3.11.2",
|
"nuxt": "3.11.2",
|
||||||
"nuxt-fix-ofetch": "^0.0.14",
|
"nuxt-fix-ofetch": "^0.0.14",
|
||||||
"nuxt-vitest": "^0.11.5",
|
"nuxt-vitest": "^0.11.5",
|
||||||
"pinia": "^2.1.7",
|
"pinia": "^2.2.2",
|
||||||
"sass": "^1.75.0",
|
"sass": "^1.77.8",
|
||||||
"serve": "^14.2.3",
|
"serve": "^14.2.3",
|
||||||
"star-markdown-css": "^0.4.2",
|
"star-markdown-css": "^0.4.2",
|
||||||
"tsx": "^4.7.3",
|
"tsx": "^4.17.0",
|
||||||
"typescript": "^5.4.5",
|
"typescript": "^5.5.4",
|
||||||
"unocss": "^0.59.4",
|
"unocss": "^0.62.2",
|
||||||
"vitest": "^1.5.2",
|
"vitest": "^2.0.5",
|
||||||
"vue-tsc": "^2.0.14"
|
"vue-tsc": "^2.0.29"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
10294
pnpm-lock.yaml
generated
10294
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user