Skip to content

Commit

Permalink
ci: add fork to bot private repo
Browse files Browse the repository at this point in the history
Signed-off-by: Urban Vidovič <urbanfoundit@gmail.com>
  • Loading branch information
pseudobun committed Aug 8, 2024
1 parent 476ea36 commit da8e3f9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,19 @@ jobs:
- uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.FORK_KEY }}
- name: Push to fork repo
- name: Push to Lutra Labs org fork repo
env:
USE_SSH: true
run: |
git remote add fork git@github.com:lutralabs/swaylend-monorepo.git
git config --global user.email "info@lutralabs.io"
git config --global user.name "Lutra Labs Bot"
git push fork --force
- name: Push to Lutra Labs Bot fork repo
env:
USE_SSH: true
run: |
git remote add fork git@github.com:lutralabs-bot/swaylend-monorepo.git
git config --global user.email "info@lutralabs.io"
git config --global user.name "Lutra Labs Bot"
git push fork --force

0 comments on commit da8e3f9

Please sign in to comment.