lvmodpack/.forgejo/workflows/update.yaml
yourfriendoss 6e13aeaadc
All checks were successful
/ build (push) Successful in 11s
autoupdate
2025-09-30 13:36:02 +03:00

16 lines
570 B
YAML

on: [push]
jobs:
build:
runs-on: node-16
steps:
- uses: http://github.com/actions/checkout@v4
- name: Install SSH Key
uses: http://github.com/shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_PRIVATE_KEY }}
name: id_ed25519
known_hosts: "just-a-placeholder-so-we-dont-get-errors"
- name: Adding Known Hosts
run: ssh-keyscan -H vps.sad.ovh >> ~/.ssh/known_hosts
- name: Git Pull on Remote
run: ssh ${{ secrets.SSH_USER }}@vps.sad.ovh "cd /var/www/lvmodpack && git pull"