Skip to content

feat: add mirroring workflow #8

feat: add mirroring workflow

feat: add mirroring workflow #8

Workflow file for this run

on:
push:
branches:
- main
jobs:
mirror:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- env:
PRIVATE_KEY: ${{ secrets.SRHT_MIRROR_PRIVATE_KEY }}
GIT_SSH_COMMAND: "ssh -i id_ed25519 -o 'StrictHostKeyChecking no'"
run: |
echo "$PRIVATE_KEY" > id_ed25519
git remote add srht [email protected]:~beleap/nixos-configuration
git push --mirror srht