This commit is contained in:
parent
8b6353d209
commit
d18b40525c
2 changed files with 23 additions and 1 deletions
|
@ -1,3 +1,17 @@
|
||||||
# Web Apps
|
# Web Apps
|
||||||
|
|
||||||
## fabianhauser.ch
|
## Setting up new static sites
|
||||||
|
|
||||||
|
|
||||||
|
Generate ssh key for deployment:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
export SSH_KEYFILE=$(mktemp --dry-run -- /dev/shm/key-XXXXXXXXX)
|
||||||
|
mkfifo -m 600 $SSH_KEYFILE
|
||||||
|
ssh-keygen -q -t ed25519 -C "ci@git.qo.is" -N "" -f $SSH_KEYFILE <<< "y\ny\n" &
|
||||||
|
wl-copy --trim-newline --foreground --paste-once < $SSH_KEYFILE
|
||||||
|
# Paste private key in CI secret "SSH_DEPLOY_KEY" now
|
||||||
|
|
||||||
|
# Configure public key:
|
||||||
|
wl-copy --trim-newline < ${SSH_KEYFILE}.pub
|
||||||
|
```
|
||||||
|
|
|
@ -22,5 +22,13 @@
|
||||||
"docs-ops.qo.is".authorizedKeys = [
|
"docs-ops.qo.is".authorizedKeys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBS65v7n5ozOUjYGuO/dgLC9C5MUGL5kTnQnvWAYP5B3 ci@git.qo.is"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBS65v7n5ozOUjYGuO/dgLC9C5MUGL5kTnQnvWAYP5B3 ci@git.qo.is"
|
||||||
];
|
];
|
||||||
|
"qo.is" = {
|
||||||
|
domainAliases = [
|
||||||
|
"www.qo.is"
|
||||||
|
];
|
||||||
|
authorizedKeys = [
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMG6xYcf7+l1RDPB7XcLxTvb6CqkaKqEGGb529Qk3b5T ci@git.qo.is"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue