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

View file

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