eny.space Landingpage
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore(ci): use mirror ci script instead of multi git remote setup

+20
+20
.tangled/workflows/mirror.yml
··· 1 + # .tangled/workflows/mirror.yml 2 + when: 3 + - event: ["push"] 4 + branch: ["main", "feature/*"] 5 + 6 + engine: "nixery" 7 + 8 + clone: 9 + depth: 0 10 + 11 + dependencies: 12 + nixpkgs: 13 + - git 14 + 15 + steps: 16 + - name: "Mirror to a different CI Repository" 17 + command: | 18 + git fetch --unshallow || true 19 + git remote add github https://x-access-token:$ACCESS_TOKEN@$GIT_REPOSITORY 20 + git push github HEAD:refs/heads/mirror/${BRANCH} --force