From a8a32fa0c4009f8f949ce95edf1d4761afc1506b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20=C3=85hall?= Date: Tue, 11 Jun 2024 20:35:35 +0200 Subject: [PATCH] Create release, v14 --- .gitea/workflows/build.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index bb94526..9401f75 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -28,4 +28,8 @@ jobs: # wireguard-mfa.exe # api_key: '${{secrets.CICD_API_TOKEN}}' - name: Distribute file on web - run: echo '${{secrets.CICD_SSH_KEY}}' | scp -i /dev/stdin wireguard-mfa.exe filehosting:/var/www/git.gibonuddevalla.se/cicd/ + run: | + export SSH_KEY_FILE=$(mktemp) + echo '${{secrets.CICD_SSH_KEY}}' >$SSH_KEY_FILE + scp -i $SSH_KEY_FILE /dev/stdin wireguard-mfa.exe filehosting:/var/www/git.gibonuddevalla.se/cicd/ + rm -v $SSH_KEY_FILE