Skip to content

Commit

Permalink
Merge branch 'refactor/ChangeFileName' of https://github.com/hyuke81/…
Browse files Browse the repository at this point in the history
…BrainPix-front into refactor/ChangeFileName
  • Loading branch information
hyuke81 committed Jan 19, 2025
2 parents ae30e51 + dd228d8 commit a157f51
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Frontend GitHub Actions
name: Merge To Ready
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
on:
push:
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/sync-to-fork.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Sync Fork With Upstream
on:
push:
branches:
- main
- develop

jobs:
sync:
if: github.repository == 'BrainPix-front'
runs-on: ubuntu-latest

steps:
- name: Checkout develop
uses: actions/checkout@v3
with:
token: ${{secrets.PAT_TOKEN}}
ref: develop
persition-credentials: false

- name: Set up Git
run: |
git config user.name minejeong9919
git config user.email "[email protected]"
- name: Add remote-url
run: |
git remote add forked-repo https://github.com/minjeong9919/BrainPix-front.git
- name: Push changes to Forked-reop
env:
GITHUB_USERNAME: minjeong9919
GITHUB_TOKEN: ${{secrets.PAT_TOKEN}}
run: |
git push -f http://$GITHUB_USERNAME:$GITHUB_TOKEN@https://github.com/minjeong9919/BrainPix-front.git develop
- name: Clean up
run: |
git remote remove forked-repo
3 changes: 3 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"rewrites": [{ "source": "/(.*)", "destination": "/" }]
}

0 comments on commit a157f51

Please sign in to comment.