[skip ci] fix ssh key leaked and roll
This commit is contained in:
parent
ede3381d66
commit
527d34a533
2 changed files with 3 additions and 2 deletions
|
|
@ -7,6 +7,7 @@ on:
|
|||
|
||||
env:
|
||||
PATH: /run/current-system/sw/bin:/run/wrappers/bin
|
||||
SSH_KEY: ${{ secrets.DEPLOY_SSH_KEY }}
|
||||
|
||||
jobs:
|
||||
rebuild:
|
||||
|
|
@ -15,7 +16,7 @@ jobs:
|
|||
- name: Setup SSH key
|
||||
run: |
|
||||
mkdir -p ./ssh
|
||||
echo "${{ secrets.DEPLOY_SSH_KEY }}" > ./ssh/deploy_key
|
||||
echo "$SSH_KEY" > ./ssh/deploy_key
|
||||
chmod 600 ./ssh/deploy_key
|
||||
|
||||
- name: Rebuild and switch
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ in {
|
|||
domain = "satr14.my.id"; # root domain for dns, ssl certs, reverse proxy, etc.
|
||||
ssh-keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIESvQFXoUBafatqnxTd6qk3WEOcfwb3AIWVTstR3lHzX forgejo"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJtdH1YqRH9xhuHMivezLvj/hpH77yfH3HUCaRboB/hb forgejo-deploy-runner"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC7nkis5iB9qJ0OLi8YO4MX1F/ISmBng/xYdNcupGAJC forgejo-actions"
|
||||
];
|
||||
disks = {
|
||||
# gallery = ext4 "/dev/disk/by-uuid/834f51c1-90ee-4601-ba76-ef0419198d67"; # disk for photo gallery
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue