MyWebsite/.forgejo/workflows/deploy.yml
Maksim Bengraf 8add4c49ad
Some checks failed
Remote update execution / Build (push) Failing after 11s
Update .forgejo/workflows/deploy.yml
2024-07-13 18:11:14 +00:00

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