Style featured items carousel #35
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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" |