Skip to content

๐Ÿ› Fix: deploy๋ฌธ์„œ email ์ˆ˜์ • #9

๐Ÿ› Fix: deploy๋ฌธ์„œ email ์ˆ˜์ •

๐Ÿ› Fix: deploy๋ฌธ์„œ email ์ˆ˜์ • #9

Workflow file for this run

name: Synchronize to forked repo
on:
push:
branches:
- main
jobs:
sync:
name: Sync forked repo
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v4
with:
repository: merging-Branchify/Brachify_FE
token: ${{ secrets.BRANCHIFY_TOKEN }}
fetch-depth: 0
ref: main
- name: Add remote-url
run: |
git remote add forked-repo https://hyuke81:${{ secrets.BRANCHIFY_TOKEN }}@github.com/hyuke81/Brachify_FE
git config user.name "hyuke81"
git config user.email "${{ secrets.EMAIL }}"
- name: Push changes to forked-repo
run: |
git push -f forked-repo main
- name: Clean up
run: |
git remote remove forked-repo