···3333 - name: Install dependencies
3434 run: yarn install --frozen-lockfile
35353636- - name: Build web and deploy with just
3636+ - name: Build web and transfer to VPS with just
3737 run: just dist-build-web
3838+3939+ - name: Trigger deployment script
4040+ uses: appleboy/ssh-action@v1
4141+ with:
4242+ host: ${{ secrets.VPS_IP }}
4343+ username: catsky
4444+ key: ${{ secrets.SSH_PRIVATE_KEY }}
4545+ script: bash /tmp/catsky/deploySeraph.sh
+2-2
justfile
···3838 # no need to build the go binary as we'll do that on vps.
3939 tar -czf catskyweb.tar.gz bskyweb/
4040 rsync -avz -e "ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=no" catskyweb.tar.gz catsky@${VPS_IP}:/tmp/catsky/
4141- # TODO: something to trigger the daemon rerun on the VPS.
4242-4141+ rsync -avz -e "ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=no" scripts/seraphDeploy.sh catsky@${VPS_IP}:/tmp/catsky/
4242+4343[group('dev')]
4444dev-android-setup: prebuild-android
4545 yarn android