Skip to content

feat: add mirroring workflow #1

feat: add mirroring workflow

feat: add mirroring workflow #1

Workflow file for this run

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