Skip to content

Commit

Permalink
πŸ› Fix: μ›Œν¬ν”Œλ‘œμš° λ¬Έμ„œ μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
abyss-s committed Nov 21, 2024
1 parent d54b4f9 commit 6a9ea9f
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,27 @@
name: Synchronize to forked repo
name: Update on Main Branch Changes
on:
push:
branches:
- main

jobs:
sync:
name: Sync forked repo
update:
name: Update Development Branch
runs-on: ubuntu-latest

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

- name: Add remote-url
- name: Create or Update Development Branch
run: |
git remote add forked-repo https://${{ secrets.BRANCHIFY_TOKEN }}@github.com/abyss-s/Branchify_FE.git
git config user.name abyss-s
git config user.email ${{ secrets.EMAIL }}
- name: Push changes to forked-repo
run: |
git push -f forked-repo main
- name: Clean up
git checkout -B dev
git merge main
- name: Push to Development Branch
run: |
git remote remove forked-repo
git push origin dev -f

0 comments on commit 6a9ea9f

Please sign in to comment.