Skip to content

initial commit

initial commit #1

Workflow file for this run

name: Deploy
on:
push:
branches: [ "master" ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Deploy to Server
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
password: ${{ secrets.SSH_PASSWORD }}
port: ${{ secrets.SSH_PORT }}
script: "cd /var/www/python-api && chmod +x ./.scripts/deploy.sh && bash ./.scripts/deploy.sh"