tangled
alpha
login
or
join now
quasigod.xyz
/
nixconfig
8
fork
atom
My NixOS and Home Manager configurations
8
fork
atom
overview
issues
pulls
pipelines
create mirror action
quasigod.xyz
5 months ago
02090b5c
15684b77
verified
This commit was signed with the committer's
known signature
.
quasigod.xyz
SSH Key Fingerprint:
SHA256:IYQIQqk4Il5k+VDa+O4RM4mqCqVtyRilM/eLPbx2jjc=
+31
1 changed file
expand all
collapse all
unified
split
.tangled
workflows
mirror.yaml
+31
.tangled/workflows/mirror.yaml
···
1
1
+
when:
2
2
+
- event: [ "push", "manual" ]
3
3
+
branch: [ "main" ]
4
4
+
5
5
+
dependencies:
6
6
+
nixpkgs:
7
7
+
- git
8
8
+
- openssh
9
9
+
10
10
+
engine: "nixery"
11
11
+
12
12
+
clone:
13
13
+
depth: 5
14
14
+
15
15
+
steps:
16
16
+
- name: add codeberg remote
17
17
+
command: |
18
18
+
git remote add github git@github.com:michaelBelsanti/nixconfig.git
19
19
+
- name: add github remote
20
20
+
command: |
21
21
+
git remote add github git@github.com:michaelBelsanti/nixconfig.git
22
22
+
- name: push to codeberg
23
23
+
environment:
24
24
+
GIT_SSH_COMMAND="ssh -i <(echo \"$GITHUB_REPO_KEY\")"
25
25
+
command: |
26
26
+
git push codeberg main
27
27
+
- name: push to githuub
28
28
+
environment:
29
29
+
GIT_SSH_COMMAND="ssh -i <(echo \"$CODEBERG_REPO_KEY\")"
30
30
+
command: |
31
31
+
git push github main