new file: .forgejo/workflows/deploy.yml
This commit is contained in:
parent
6e4cc947ec
commit
0f3b443e8b
1 changed files with 15 additions and 0 deletions
15
.forgejo/workflows/deploy.yml
Normal file
15
.forgejo/workflows/deploy.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
name: Deploy to Server
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install/Update SSH
|
||||
run: apt install ssh
|
||||
- name: SSH into the Server
|
||||
run: ssh-rsa -p ${{ secrets.SSH_PUB }} stickers@192.168.1.107
|
||||
- name: Set the directory
|
||||
run: cd stickerpicker
|
||||
- name: Pull changes
|
||||
run: git pull
|
Loading…
Add table
Reference in a new issue