15 lines
365 B
YAML
15 lines
365 B
YAML
|
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
|