My NixOS and Home Manager configurations

add mirror pipeline #1

merged opened by quasigod.xyz targeting main from mirror-action

Mirror main to Codeberg and Github

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:5fyfskntvw6jltxmdu2we7nw/sh.tangled.repo.pull/3m2ub3rx4vh22
+31
Diff #2
+31
.tangled/workflows/mirror.yaml
··· 1 + when: 2 + - event: [ "push", "manual" ] 3 + branch: [ "main" ] 4 + 5 + dependencies: 6 + nixpkgs: 7 + - git 8 + - openssh 9 + 10 + engine: "nixery" 11 + 12 + clone: 13 + depth: 1 14 + 15 + steps: 16 + - name: add codeberg remote 17 + command: | 18 + git remote add github git@github.com:michaelBelsanti/nixconfig.git 19 + - name: add github remote 20 + command: | 21 + git remote add github git@github.com:michaelBelsanti/nixconfig.git 22 + - name: push to codeberg 23 + environment: 24 + GIT_SSH_COMMAND="ssh -i <(echo \"$GITHUB_REPO_KEY\")" 25 + command: | 26 + git push codeberg main 27 + - name: push to githuub 28 + environment: 29 + GIT_SSH_COMMAND="ssh -i <(echo \"$CODEBERG_REPO_KEY\")" 30 + command: | 31 + git push github main

History

3 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
create mirror action
expand 0 comments
pull request successfully merged
1 commit
expand
create mirror action
expand 0 comments
1 commit
expand
create mirror action
expand 0 comments