From 2361915841f6cfb32cac22f197be7329fe4aed2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20=C3=85hall?= Date: Tue, 11 Jun 2024 20:02:40 +0200 Subject: [PATCH] Create release, v11 --- .gitea/workflows/build.yaml | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 7220b8c..7196e20 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -15,22 +15,17 @@ jobs: with: ssh-known-hosts: "[git.gibonuddevalla.se]:2222 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII2Od6HUfExymVv/wPJcWiA8mgsuMwEmF7UO+YjqnjWy" ssh-strict: "false" - ssh-key: | - -----BEGIN OPENSSH PRIVATE KEY----- - b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW - QyNTUxOQAAACCXcMQ9qopV3UjpJlEk8SR7Y/Yq5lpgQdbGqnJIF9MRswAAAJhnEz9qZxM/ - agAAAAtzc2gtZWQyNTUxOQAAACCXcMQ9qopV3UjpJlEk8SR7Y/Yq5lpgQdbGqnJIF9MRsw - AAAEAe4z14D1zwx6rrcZuxdY2idkVm3aln8ohQjuZ5u2q4KZdwxD2qilXdSOkmUSTxJHtj - 9irmWmBB1saqckgX0xGzAAAAD21hZ251c0BoYWJhbmVybwECAwQFBg== - -----END OPENSSH PRIVATE KEY----- + ssh-key: '${{secrets.CICD_SSH_KEY}}' - name: Compile go binaries 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: echo '${{secrets.CICD_SSH_KEY}}' | scp -i /dev/stdin wireguard-mfa.exe filehosting:/var/www/git.gibonuddevalla.se/cicd/