From 1ef8ff74a436b51a3e02bea1bdbcf2c9dc4bdf9c Mon Sep 17 00:00:00 2001 From: Eoghan Conlon Date: Thu, 24 Oct 2024 09:37:02 +0100 Subject: [PATCH] Reverting action to possible new template Signed-off-by: Eoghan Conlon --- .forgejo/workflows/push.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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