Skip to content

Commit

Permalink
Update sync-to-org.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ncborcherding authored Jan 28, 2025
1 parent 12b1ffd commit 428b175
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/sync-to-org.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- master

permissions:
contents: write # Ensure write access to the repository

jobs:
sync:
runs-on: ubuntu-latest
Expand All @@ -14,8 +17,10 @@ jobs:
uses: actions/checkout@v3

- name: Push to Organization Repo
env:
ORG_PAT: ${{ secrets.ORG_PAT }}
run: |
git config --global user.name 'ncborcherding'
git config --global user.email '[email protected]'
git remote add org https://x-access-token:${{ secrets.ORG_PAT }}@github.com/BorchLab/scRepertoire.git
git push org master --force
git remote add org https://x-access-token:${ORG_PAT}@github.com/BorchLab/scRepertoire.git
git push org master --force --verbose

0 comments on commit 428b175

Please sign in to comment.