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