Maksim Bengraf
8add4c49ad
Some checks failed
Remote update execution / Build (push) Failing after 11s
18 lines
423 B
YAML
18 lines
423 B
YAML
name: Remote update execution
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: executing remote ssh commands using password
|
|
uses: appleboy/ssh-action@master
|
|
with:
|
|
host: ${{ secrets.SSH_HOST }}
|
|
username: ${{ secrets.SSH_USER }}
|
|
key: ${{ secrets.SSH_KEY }}
|
|
script: |
|
|
bash /var/www/update.sh |