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