Skip to content

Commit

Permalink
Deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
mskian authored Jan 12, 2024
1 parent db16b73 commit cc45233
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/.github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: vercel-deploy
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
push:
branches: [ main ]
jobs:
Deploy-Production:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/[email protected]
- uses: pnpm/[email protected]
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }} and install vercel CLI
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- run: pnpm i -g vercel
- name: Deploy Project Vercel
run: vercel deploy --prod --token=${{ secrets.VERCEL_TOKEN }}

0 comments on commit cc45233

Please sign in to comment.