diff --git a/.forgejo/workflows/push.yaml b/.forgejo/workflows/push.yaml index 27b0161..81c436f 100644 --- a/.forgejo/workflows/push.yaml +++ b/.forgejo/workflows/push.yaml @@ -11,4 +11,17 @@ jobs: deploy: runs-on: docker steps: - - uses: https://forgejo.skynet.ie/eoghanconlon73/actions/nix-build_deploy@eoghan_test-final6 \ No newline at end of file + - uses: https://code.forgejo.org/actions/checkout@v4 + - uses: https://forgejo.skynet.ie/Skynet/actions/get_lfs@v6 + with: + repository: ${{ gitea.repository }} + ref_name: ${{ gitea.ref_name }} + - uses: https://forgejo.skynet.ie/Skynet/actions/docker_nix@v7 + - run: nix build + - run: mkdir temp + - run: cp -rL result/* ./temp + - uses: https://forgejo.skynet.ie/Skynet/actions/deploy_user@v6 + with: + ssh_key: ${{ secrets.SSH_KEY }} + username: ${{ env.GITHUB_REPOSITORY_OWNER }} + folder: "temp" \ No newline at end of file