Skip to content

Commit

Permalink
feat: add mirroring workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
BeLeap committed Feb 6, 2024
1 parent 677f8df commit a7a77d4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
on:
push:
branches:
- main

jobs:
mirror:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
echo '${{ secrets.SRHT_MIRROR_PRIVATE_KEY }}' > ~/.ssh/id_ed25519
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
git remote add srht [email protected]:~beleap/nixos-configuration
git push --mirror srht

0 comments on commit a7a77d4

Please sign in to comment.