diff --git a/.forgejo/workflows/push.yaml b/.forgejo/workflows/push.yaml index 28c7f17..9a6c21d 100644 --- a/.forgejo/workflows/push.yaml +++ b/.forgejo/workflows/push.yaml @@ -25,6 +25,6 @@ jobs: uses: https://forgejo.skynet.ie/Skynet/actions/deploy_user@v5 with: ssh_key: ${{ secrets.SSH_KEY }} - username: ${{ secrets.USERNAME }} + username: ${{ env.GITHUB_REPOSITORY_OWNER }} folder: "src" #destination: "subfolder" \ No newline at end of file diff --git a/README.md b/README.md index 5873eba..5967628 100644 --- a/README.md +++ b/README.md @@ -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. ## 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`` -* USERNAME - * This is your skynet username * SSH_KEY * This is your private key that was generated above