feat: switch over to using the env var for teh owner

This commit is contained in:
silver 2024-09-23 11:22:53 +01:00
parent 54e2cf9e75
commit 2ed9d2f3e9
Signed by untrusted user: silver
GPG key ID: 36F93D61BAD3FD7D
2 changed files with 3 additions and 3 deletions

View file

@ -81,7 +81,6 @@ jobs:
uses: https://forgejo.skynet.ie/Skynet/actions/deploy_user@v5
with:
ssh_key: ${{ secrets.KEY }}
username: ${{ secrets.USERNAME }}
folder: "build"
destination: "subfolder"
````

View file

@ -5,8 +5,9 @@ inputs:
description: 'Pass in secrets.SSH_KEY'
required: true
username:
description: 'Pass in secrets.USERNAME'
required: true
description: 'Pass in your skynet username'
required: false
default: ${{ env.GITHUB_REPOSITORY_OWNER }}
folder:
description: 'Folder to upload, normally build'
required: true