Create release, v15
Some checks failed
Wireguard MFA Windows Agent build / release (push) Failing after 26s

This commit is contained in:
Magnus Åhall 2024-06-11 20:43:45 +02:00
parent a8a32fa0c4
commit 4435feab54

View File

@ -20,16 +20,16 @@ jobs:
env: env:
GOOS: 'windows' GOOS: 'windows'
run: go build -v run: go build -v
# - name: Create release - name: Create release
# id: use-go-action id: use-go-action
# uses: https://gitea.com/actions/release-action@main uses: https://gitea.com/actions/release-action@main
# with: with:
# files: |- files: |-
# wireguard-mfa.exe wireguard-mfa.exe
# api_key: '${{secrets.CICD_API_TOKEN}}' api_key: '${{secrets.CICD_API_TOKEN}}'
- name: Distribute file on web - name: Distribute file on web
run: | run: |
export SSH_KEY_FILE=$(mktemp) export SSH_KEY_FILE=$(mktemp)
echo '${{secrets.CICD_SSH_KEY}}' >$SSH_KEY_FILE 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/ scp -i $SSH_KEY_FILE wireguard-mfa.exe filehosting:/var/www/git.gibonuddevalla.se/cicd/
rm -v $SSH_KEY_FILE rm -v $SSH_KEY_FILE