Skip to content

updated documentation #12

updated documentation

updated documentation #12

Workflow file for this run

name: TestAndDeploy
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/node-api && chmod +x ./.scripts/deploy.sh && bash ./.scripts/deploy.sh"