Skip to content

Merge pull request #62 from codeit-maso/feature/Yun #20

Merge pull request #62 from codeit-maso/feature/Yun

Merge pull request #62 from codeit-maso/feature/Yun #20

Workflow file for this run

name: Sync Fork
on:
push:
branches:
- main
- develop
workflow_dispatch:
jobs:
sync-fork:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup SSH Agent
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Add known hosts
run: ssh-keyscan github.com >> ~/.ssh/known_hosts
- name: Push to fork
run: |
git remote add fork [email protected]:LeeCh0129/Rolling.git
git push fork ${GITHUB_REF#refs/heads/}