Skip to content

Create push_to_server.yml (#276) #3

Create push_to_server.yml (#276)

Create push_to_server.yml (#276) #3

name: remote to update
on:
push:
branches:
- main
jobs:
build:
name: run command
runs-on: ubuntu-latest
steps:
- name: executing remote command to update
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSWORD }}
port: ${{ secrets.SERVER_PORT }}
script: ./run_update.sh