Merge branch 'develop' #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto Sync | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
sync: | |
name: Sync forked repository | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.DEPLOY_TOKEN }} | |
- name: Add remote URL | |
run: | | |
git remote add forked_repo https://imddoy:${{ secrets.DEPLOY_TOKEN }}@github.com/imddoy/35-COLLABORATION-WEB-MCDONALD | |
git config user.name imddoy | |
git config user.email [email protected] | |
- name: Push Changes to forked_repo | |
run: | | |
git push -f forked_repo main | |
- name: Clean up | |
run: | | |
git remote remove forked_repo |