Skip to content

Update sync-to-org.yaml #6

Update sync-to-org.yaml

Update sync-to-org.yaml #6

Workflow file for this run

name: Sync to Organization Repo
on:
push:
branches:
- master # Replace with your default branch name
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up SSH
run: |
mkdir -p ~/.ssh
echo "${{ secrets.ORG_SSH_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
- name: Push to Organization Repo
run: |
git remote add org [email protected]:BorchLab/scRepertoire.git
git push org master --force