forked from Skynet/actions
feat: switch over to using the env var for teh owner
This commit is contained in:
parent
54e2cf9e75
commit
2ed9d2f3e9
2 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||||
````
|
````
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue