MyWebsite/.forgejo/workflows/deploy.yml

18 lines
423 B
YAML
Raw Normal View History

name: Remote update execution
on:
push:
branches:
- main
2024-07-12 21:52:48 +00:00
jobs:
build:
name: Build
2024-07-12 21:52:48 +00:00
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