Skip to content

Fix static property of pieces #41

Fix static property of pieces

Fix static property of pieces #41

Workflow file for this run

# Andrew Li's Deploy to Private Repo Action
name: 😎 Deploy Production
on:
workflow_dispatch:
push:
branches: [main]
jobs:
build-deploy-frontend:
name: πŸŽ‰ Build and Deploy Frontend
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v2
- name: πŸ”¨ Set up Node 16.17.0
uses: actions/setup-node@v2
with:
node-version: 16.17.0
- name: ⛏ Build Frontend
run: |
npm ci
npm run lint
npm run build
cd ..
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
NEXTAUTH_URL: ${{ secrets.NEXTAUTH_URL }}
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }}
GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }}
JWT_SECRET: ${{ secrets.JWT_SECRET }}
UPLOADTHING_SECRET=: ${{ secrets.UPLOADTHING_SECRET }}
UPLOADTHING_APP_ID: ${{ secrets.UPLOADTHING_APP_ID }}
- name: ☁ Deploy to Vercel Git Repo
uses: wei/git-sync@v3
with:
source_repo: "https://github.com/fullstackatbrown/carte-blanche.git"
source_branch: "main"
destination_repo: "https://andrew7li:${{ secrets.PAT }}@github.com/andrew7li/carte-blanche-deploy.git"
destination_branch: "deploy"