ci: add gc after deployments

This commit is contained in:
notohh 2023-11-03 09:31:21 -04:00
parent 108d5cb04f
commit 43f14f80bb
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -25,3 +25,10 @@ jobs:
run: | run: |
cd .ssh cd .ssh
nix run github:serokell/deploy-rs -- --ssh-opts="-i forgejo -o StrictHostKeyChecking=no" --skip-checks --targets .#arashi .#kariru .#sakura .#sora .#yuki 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