New structure
This commit is contained in:
parent
e1cc5b77c1
commit
d1fa051335
25
.drone.yml
25
.drone.yml
@ -6,6 +6,7 @@ trigger:
|
|||||||
- push
|
- push
|
||||||
branch:
|
branch:
|
||||||
- senpai
|
- senpai
|
||||||
|
- dev
|
||||||
steps:
|
steps:
|
||||||
- name: test-build
|
- name: test-build
|
||||||
image: asciidoctor/docker-asciidoctor
|
image: asciidoctor/docker-asciidoctor
|
||||||
@ -30,6 +31,30 @@ server:
|
|||||||
ssh_key:
|
ssh_key:
|
||||||
from_secret: ssh_key
|
from_secret: ssh_key
|
||||||
steps:
|
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
|
- name: pull
|
||||||
commands:
|
commands:
|
||||||
- cd /srv/website/projects
|
- cd /srv/website/projects
|
||||||
|
0
diaries/.gitkeep
Normal file
0
diaries/.gitkeep
Normal file
@ -1,5 +1,6 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
"type": "project",
|
||||||
"name": "homepage",
|
"name": "homepage",
|
||||||
"short": "This website.",
|
"short": "This website.",
|
||||||
"desc": [
|
"desc": [
|
||||||
|
0
projects/.gitkeep
Normal file
0
projects/.gitkeep
Normal file
Loading…
Reference in New Issue
Block a user