.
This commit is contained in:
parent
4036bd4528
commit
e4e7c2a07b
2 changed files with 3 additions and 20 deletions
|
@ -1,15 +0,0 @@
|
|||
name: Deploy to Server
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install/Update SSH
|
||||
run: apt install openssh-client
|
||||
- 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
|
|
@ -1,11 +1,9 @@
|
|||
name: Publish
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: [Update]
|
||||
branches: [publish]
|
||||
types:
|
||||
- completed
|
||||
push:
|
||||
branches:
|
||||
- "publish"
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
|
|
Loading…
Add table
Reference in a new issue