diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..2d7da59 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,22 @@ +name: Deploy to VPS + +on: + push: + branches: [main, voice-to-graph] + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Deploy via SSH + uses: appleboy/ssh-action@v1 + with: + host: ${{ secrets.VPS_HOST }} + username: ${{ secrets.VPS_USER }} + key: ${{ secrets.VPS_SSH_KEY }} + script: | + export PATH=$PATH:/home/ian/.npm-global/bin + cd /home/ian/experiments/voice-to-graph + git pull origin ${{ github.ref_name }} + npm install --omit=dev + pm2 restart voice-to-graph diff --git a/public/img/placeholder.png b/public/img/placeholder.png new file mode 100644 index 0000000..0989209 Binary files /dev/null and b/public/img/placeholder.png differ diff --git a/public/index.html b/public/index.html index 0983a29..f98e510 100644 --- a/public/index.html +++ b/public/index.html @@ -3,8 +3,11 @@
-