Update workflows for warsaw

This commit is contained in:
albert 2024-09-17 09:56:42 +02:00
parent f38401bac6
commit b82f9c863d
Signed by: albert
GPG key ID: 3895DD267CA11BA9
2 changed files with 5 additions and 6 deletions

View file

@ -72,14 +72,14 @@ jobs:
- name: "nixos-version (Pre)"
run: |
ssh -q -A -o StrictHostKeyChecking=no albert@framework-server \
ssh -q -A -o StrictHostKeyChecking=no albert@warsaw-ovh-01 \
"
nixos-version
"
- name: "SSH and Deploy"
run: |
ssh -q -A -o StrictHostKeyChecking=no albert@framework-server \
ssh -q -A -o StrictHostKeyChecking=no albert@warsaw-ovh-01 \
"
set -x
eval (ssh-agent -c)
@ -91,14 +91,13 @@ jobs:
ssh -qA frankfurt-linode-01 'sudo systemctl restart podman-derp'
ssh -qA milan-linode-01 'sudo systemctl restart podman-derp'
ssh -qA warsaw-ovh-01 'sudo systemctl restart container@rdesktop'
ssh -qA framework-server 'sudo systemctl restart container@rdesktop'
sleep 30
deploy -sd
"
- name: "nixos-version (Post)"
run: |
ssh -q -A -o StrictHostKeyChecking=no albert@framework-server \
ssh -q -A -o StrictHostKeyChecking=no albert@warsaw-ovh-01 \
"
nixos-version
"

View file

@ -73,7 +73,7 @@ jobs:
- name: "SSH and Update / Check"
run: |
ssh -q -A -o StrictHostKeyChecking=no albert@framework-server \
ssh -q -A -o StrictHostKeyChecking=no albert@warsaw-ovh-01 \
"
set -x
eval (ssh-agent -c)
@ -88,7 +88,7 @@ jobs:
- if: success()
name: "Sucess: Git Commit & Push"
run: |
ssh -q -A -o StrictHostKeyChecking=no albert@framework-server \
ssh -q -A -o StrictHostKeyChecking=no albert@warsaw-ovh-01 \
"
set -x
eval (ssh-agent -c)