From 43f14f80bba96637fb1a4944ddf9dcd53e340af3 Mon Sep 17 00:00:00 2001 From: notohh Date: Fri, 3 Nov 2023 09:31:21 -0400 Subject: [PATCH] ci: add gc after deployments --- .forgejo/workflows/deployment/deploy-systems.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.forgejo/workflows/deployment/deploy-systems.yml b/.forgejo/workflows/deployment/deploy-systems.yml index 396d9a0..a31e7f0 100644 --- a/.forgejo/workflows/deployment/deploy-systems.yml +++ b/.forgejo/workflows/deployment/deploy-systems.yml @@ -25,3 +25,10 @@ jobs: run: | cd .ssh nix run github:serokell/deploy-rs -- --ssh-opts="-i forgejo -o StrictHostKeyChecking=no" --skip-checks --targets .#arashi .#kariru .#sakura .#sora .#yuki + - name: garbage collect + uses: https://github.com/appleboy/ssh-action@1.0.0 + with: + host: 100.82.146.40 + username: root + key: ${{secrets.SSH_DEPLOY_KEY}} + run: nh clean all