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: 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 uses: https://forgejo.skynet.ie/Skynet/actions/deploy_user@v5
with: with:
ssh_key: ${{ secrets.KEY }} ssh_key: ${{ secrets.KEY }}
username: ${{ secrets.USERNAME }}
folder: "build" folder: "build"
destination: "subfolder" destination: "subfolder"
```` ````

View file

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