···33 - name: Install dependencies
34 run: yarn install --frozen-lockfile
3536- - name: Build web and deploy with just
37 run: just dist-build-web
00000000
···33 - name: Install dependencies
34 run: yarn install --frozen-lockfile
3536+ - name: Build web and transfer to VPS with just
37 run: just dist-build-web
38+39+ - name: Trigger deployment script
40+ uses: appleboy/ssh-action@v1
41+ with:
42+ host: ${{ secrets.VPS_IP }}
43+ username: catsky
44+ key: ${{ secrets.SSH_PRIVATE_KEY }}
45+ script: bash /tmp/catsky/deploySeraph.sh
+2-2
justfile
···38 # no need to build the go binary as we'll do that on vps.
39 tar -czf catskyweb.tar.gz bskyweb/
40 rsync -avz -e "ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=no" catskyweb.tar.gz catsky@${VPS_IP}:/tmp/catsky/
41- # TODO: something to trigger the daemon rerun on the VPS.
42-43[group('dev')]
44dev-android-setup: prebuild-android
45 yarn android
···38 # no need to build the go binary as we'll do that on vps.
39 tar -czf catskyweb.tar.gz bskyweb/
40 rsync -avz -e "ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=no" catskyweb.tar.gz catsky@${VPS_IP}:/tmp/catsky/
41+ rsync -avz -e "ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=no" scripts/seraphDeploy.sh catsky@${VPS_IP}:/tmp/catsky/
42+43[group('dev')]
44dev-android-setup: prebuild-android
45 yarn android