Skip to content

Update push.yml

Update push.yml #45

Workflow file for this run

# You can find the deployment instructions in the scripts/cloud-api-demo/README.md file
name: Deploy to Cloud VPS
on:
push:
branches:
- develop
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Execute remote ssh commands
uses: appleboy/[email protected]
with:
host: ${{ secrets.API_DEMO_HOST }}
username: ${{ secrets.API_DEMO_USERNAME }}
key: ${{ secrets.API_DEMO_SSH_KEY }}
port: ${{ secrets.API_DEMO_PORT }}
command_timeout: 30m
script: |
/usr/local/bin/deploy.sh