Skip to content

수정

수정 #110

Workflow file for this run

name: Synchronize to Forked Repo
on:
push:
branches:
- develop
jobs:
sync:
name: Sync forked repo
runs-on: ubuntu-latest
steps:
- name: 📦 Checkout source (full history)
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.AUTO_ACTIONS }}
ref: develop
- name: 🛠 Configure Git identity
run: |
git config user.name "GitHub Actions Bot"
git config user.email "${{ secrets.EMAIL }}"
- name: 🔁 Add forked repo remote
run: |
git remote add forked-repo https://x-access-token:${{ secrets.AUTO_ACTIONS }}@github.com/minjaehan/Front-end.git
- name: 🚀 Push changes to forked repo
run: |
git push -f forked-repo develop
- name: 🧹 Clean up
run: |
git remote remove forked-repo