Maintain a symlink to CI/CD latest
This commit is contained in:
parent
a8be328a6d
commit
b19558dd78
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user