Add drone.yml for CI
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
ab360946a3
commit
d5df4ac33e
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: ssh
|
||||
name: Portfolio2023
|
||||
|
||||
server:
|
||||
host: 178.79.190.21
|
||||
user: matt
|
||||
ssh_key:
|
||||
from_secret: ssh_key
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
steps:
|
||||
- name: Update Repository
|
||||
commands:
|
||||
- cd /home/matt/Portfolio2023/
|
||||
- git add rebuild.sh
|
||||
- git stash
|
||||
|
||||
- git fetch origin
|
||||
- git reset --hard origin/master
|
||||
- git submodule update --init --recursive
|
||||
|
||||
- git stash pop
|
||||
|
||||
- name: Rebuild Site
|
||||
commands:
|
||||
- sudo /home/matt/Portfolio2023/rebuild.sh
|
Loading…
Reference in New Issue