tangled mirror of catsky-🐱 Soothing soft social-app fork with all the niche toggles! (Unofficial); for issues and PRs please put them on github:NekoDrone/catsky-social

fix(ci): sudo on script instead

also had to set the perms properly on the vps through nix

serenity ee40d57e f19b3281

Changed files
+2 -2
.github
scripts
+1 -1
.github/workflows/build-and-deploy-catsky-web.yaml
··· 42 42 host: ${{ secrets.VPS_IP }} 43 43 username: ci 44 44 key: ${{ secrets.SSH_PRIVATE_KEY }} 45 - script: sudo bash /tmp/catsky/seraphDeploy.sh 45 + script: bash /tmp/catsky/seraphDeploy.sh
+1 -1
scripts/seraphDeploy.sh
··· 2 2 #!nix-shell -i bash -p go 3 3 4 4 tar -xzf "/tmp/catsky/catskyweb.tar.gz" -C "/opt/catsky/" --strip-components=1 --overwrite 5 - systemctl restart catsky.service 5 + sudo systemctl restart catsky.service