Skip to content

Commit

Permalink
setting up a github action for the auto-push to another repository
Browse files Browse the repository at this point in the history
  • Loading branch information
xvyaward committed Jun 19, 2023
1 parent 0db6dfb commit 98bc066
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: modify readme
run: sed '2 i\ \n### Currently our original code is available at [xvyaward/owq](https://github.com/xvyaward/owq).\n' README.md -i
- name: Pushes to another repository
uses: cpina/github-action-push-to-another-repository@main
env:
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
with:
source-directory: './'
destination-github-username: 'ECoLab-POSTECH'
destination-repository-name: 'OWQ'
user-email: [email protected]
target-branch: main

0 comments on commit 98bc066

Please sign in to comment.