Skip to content

Test deployment

Test deployment #28

Workflow file for this run

# Andrew Li's Deploy to Private Repo Action
name: 😎 Deploy Production
on:
workflow_dispatch:
push:
branches: [t3-rewrite]
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 ..
- name: ☁ Deploy to Vercel Git Repo
uses: wei/git-sync@v3
with:
source_repo: "https://github.com/fullstackatbrown/carte-blanche.git"
source_branch: "t3-rewrite"
destination_repo: "https://andrew7li:${{ secrets.PAT }}@github.com/andrew7li/carte-blanche-deploy.git"
destination_branch: "deploy"