Skip to content

Merge branch 'main' of github.com:ALOC-UOS/timer #3

Merge branch 'main' of github.com:ALOC-UOS/timer

Merge branch 'main' of github.com:ALOC-UOS/timer #3

name: Cross-Repo Push
on:
push:
branches:
- deploy
jobs:
push-to-other-repo:
runs-on: ubuntu-latest
steps:
- name: Checkout source repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install SSH key
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Push to target repo
env:
TARGET_REPO: [email protected]:baebae02/aloc-timer.git
run: |
git config --global user.name 'GitHub Action'
git config --global user.email '[email protected]'
git remote add target_repo $TARGET_REPO
git push target_repo deploy:main --force