parent
25808e0d08
commit
6e13aeaadc
1 changed files with 16 additions and 0 deletions
16
.forgejo/workflows/update.yaml
Normal file
16
.forgejo/workflows/update.yaml
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
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"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue