.
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
|
name: Publish
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_run:
|
push:
|
||||||
workflows: [Update]
|
branches:
|
||||||
branches: [publish]
|
- "publish"
|
||||||
types:
|
|
||||||
- completed
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
|
|
Loading…
Add table
Reference in a new issue