Skip to content

Commit

Permalink
πŸ› Fix: deploy λ¬Έμ„œ μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
hyuke81 committed Nov 23, 2024
1 parent 74703d7 commit 76fe35d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,19 @@ jobs:
sync:
name: Sync forked repo
runs-on: ubuntu-latest

steps:
- name: Checkout main
uses: actions/checkout@v4
with:
token: ${ VITE_SECRET_KEY }
token: ${{ secrets.BRANCHIFY_TOKEN }}
fetch-depth: 0
ref: main

- name: Add remote-url
run: |
git remote add forked-repo https://hyuke81:${ VITE_SECRET_KEY }@github.com/hyuke81/Brachify_FE
git remote add forked-repo https://hyuke81:${{ secrets.BRANCHIFY_TOKEN }}@github.com/hyuke81/Brachify_FE
git config user.name hyuke81
git config user.email ${ [email protected] }
git config user.email ${ ${{ secrets.EMAIL }} }
- name: Push changes to forked-repo
run: |
Expand Down
12 changes: 11 additions & 1 deletion vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,15 @@
"source": "/branchify/:path*",
"destination": "http://101.101.217.98:8080/:path*"
}
]
],
"version": 2,
"routes": [
{
"handle": "filesystem"
},
{
"src": "/.*",
"dest": "/index.html"
}
]
}

0 comments on commit 76fe35d

Please sign in to comment.