From b19558dd789dcc2b634f2c39f5095575ccd02760 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20=C3=85hall?= Date: Wed, 12 Jun 2024 10:19:30 +0200 Subject: [PATCH] Maintain a symlink to CI/CD latest --- .gitea/workflows/build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 9e356a7..3c4aff6 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -33,4 +33,5 @@ jobs: export SSH_KEY_FILE=$(mktemp) echo '${{secrets.CICD_SSH_KEY}}' >$SSH_KEY_FILE scp -i $SSH_KEY_FILE wireguard-mfa.exe "filehosting:/var/www/git.gibonuddevalla.se/cicd/wireguard-mfa_${{gitea.sha}}.exe" + ssh -i $SSH_KEY_FILE filehosting "ln -sf /var/www/git.gibonuddevalla.se/cicd/wireguard-mfa_${{gitea.sha}}.exe /var/www/git.gibonuddevalla.se/cicd/wireguard-mfa_latest.exe" rm -v $SSH_KEY_FILE