feat: no longer ask teh user to enter their own username
Some checks failed
On_Push / build (push) Failing after 3s

This commit is contained in:
silver 2024-09-22 23:51:02 +01:00
parent 21dfe24bca
commit 24f8bff802
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D
2 changed files with 2 additions and 4 deletions

View file

@ -25,6 +25,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.SSH_KEY }} ssh_key: ${{ secrets.SSH_KEY }}
username: ${{ secrets.USERNAME }} username: ${{ env.GITHUB_REPOSITORY_OWNER }}
folder: "src" folder: "src"
#destination: "subfolder" #destination: "subfolder"

View file

@ -7,12 +7,10 @@ Details to do this can be found here: [wiki](https://wiki.skynet.ie/tutorials/sk
It is recommended to create a new key for just Forgejo Actions. It is recommended to create a new key for just Forgejo Actions.
## Secrets ## Secrets
Two secrets must be added to make this work. One secret must be added to make this work.
Secrets are found in your repo under ``Settings > Actions > Secrets`` Secrets are found in your repo under ``Settings > Actions > Secrets``
* USERNAME
* This is your skynet username
* SSH_KEY * SSH_KEY
* This is your private key that was generated above * This is your private key that was generated above