MyWebsite/.forgejo/workflows/Run_pull.yaml
Maksim Bengraf c5d284ee99
Some checks failed
Remote update execution / Build (push) Failing after 12s
Update .forgejo/workflows/Run_pull.yaml
2024-07-13 18:09:59 +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