New structure
This commit is contained in:
parent
e1cc5b77c1
commit
d1fa051335
25
.drone.yml
25
.drone.yml
@ -6,6 +6,7 @@ trigger:
|
||||
- push
|
||||
branch:
|
||||
- senpai
|
||||
- dev
|
||||
steps:
|
||||
- name: test-build
|
||||
image: asciidoctor/docker-asciidoctor
|
||||
@ -30,6 +31,30 @@ server:
|
||||
ssh_key:
|
||||
from_secret: ssh_key
|
||||
steps:
|
||||
- name: pull
|
||||
commands:
|
||||
- cd /srv/website/projects
|
||||
- git pull
|
||||
---
|
||||
# Push on dev environment
|
||||
kind: pipeline
|
||||
type: ssh
|
||||
name: deploy
|
||||
depends_on:
|
||||
- test
|
||||
trigger:
|
||||
branch:
|
||||
- dev
|
||||
event:
|
||||
- push
|
||||
server:
|
||||
host:
|
||||
from_secret: ssh_host
|
||||
user:
|
||||
from_secret: ssh_user
|
||||
ssh_key:
|
||||
from_secret: ssh_key
|
||||
steps:
|
||||
- name: pull
|
||||
commands:
|
||||
- cd /srv/website/projects
|
||||
|
0
diaries/.gitkeep
Normal file
0
diaries/.gitkeep
Normal file
@ -1,5 +1,6 @@
|
||||
[
|
||||
{
|
||||
"type": "project",
|
||||
"name": "homepage",
|
||||
"short": "This website.",
|
||||
"desc": [
|
||||
|
0
projects/.gitkeep
Normal file
0
projects/.gitkeep
Normal file
Loading…
Reference in New Issue
Block a user