Create release, v11

This commit is contained in:
Magnus Åhall 2024-06-11 20:02:40 +02:00
parent ff1ac7250c
commit 2361915841

View File

@ -15,22 +15,17 @@ jobs:
with: with:
ssh-known-hosts: "[git.gibonuddevalla.se]:2222 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII2Od6HUfExymVv/wPJcWiA8mgsuMwEmF7UO+YjqnjWy" ssh-known-hosts: "[git.gibonuddevalla.se]:2222 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII2Od6HUfExymVv/wPJcWiA8mgsuMwEmF7UO+YjqnjWy"
ssh-strict: "false" ssh-strict: "false"
ssh-key: | ssh-key: '${{secrets.CICD_SSH_KEY}}'
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
QyNTUxOQAAACCXcMQ9qopV3UjpJlEk8SR7Y/Yq5lpgQdbGqnJIF9MRswAAAJhnEz9qZxM/
agAAAAtzc2gtZWQyNTUxOQAAACCXcMQ9qopV3UjpJlEk8SR7Y/Yq5lpgQdbGqnJIF9MRsw
AAAEAe4z14D1zwx6rrcZuxdY2idkVm3aln8ohQjuZ5u2q4KZdwxD2qilXdSOkmUSTxJHtj
9irmWmBB1saqckgX0xGzAAAAD21hZ251c0BoYWJhbmVybwECAwQFBg==
-----END OPENSSH PRIVATE KEY-----
- name: Compile go binaries - name: Compile go binaries
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
run: echo '${{secrets.CICD_SSH_KEY}}' | scp -i /dev/stdin wireguard-mfa.exe filehosting:/var/www/git.gibonuddevalla.se/cicd/