File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Deploy Frontend to Vercel
2+
3+ on :
4+ push :
5+ branches :
6+ - frontend/develop
7+ paths :
8+ - " frontend/**"
9+ - " .github/workflows/deploy-frontend.yml"
10+
11+ jobs :
12+ sync-to-fork :
13+ name : Sync frontend/develop to Vercel fork
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - name : Checkout frontend/develop
18+ uses : actions/checkout@v4
19+ with :
20+ token : ${{ secrets.SINJI_DEPLOY_TOKEN }}
21+ fetch-depth : 0
22+ ref : frontend/develop
23+
24+ - name : Push to Vercel fork
25+ run : |
26+ git remote add vercel-fork https://sinji2102:${{ secrets.SINJI_DEPLOY_TOKEN }}@github.com/sinji2102/2026-capstone-09
27+ git config user.name sinji2102
28+ git config user.email sinji.3010@gmail.com
29+ git push -f vercel-fork frontend/develop:frontend/develop
30+
31+ - name : Clean up
32+ run : |
33+ git remote remove vercel-fork
You can’t perform that action at this time.
0 commit comments