Add Vercel

This commit is contained in:
2024-10-07 10:24:20 -04:00
parent d1ebffc3c5
commit 06070867eb
3 changed files with 1656 additions and 37 deletions
+21
View File
@@ -0,0 +1,21 @@
name: Vercel Preview Deployment
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
push:
branches-ignore:
- main
jobs:
Deploy-Preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Vercel CLI
run: npm install --global vercel@latest
- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
+2 -1
View File
@@ -23,7 +23,8 @@
"react-dom": "^18",
"react-file-viewer": "^1.2.1",
"react-iframe": "^1.8.5",
"react-youtube": "^10.1.0"
"react-youtube": "^10.1.0",
"vercel": "^37.6.1"
},
"homepage": "https://nicholaspease.com",
"devDependencies": {
+1633 -36
View File
File diff suppressed because it is too large Load Diff