New structure

This commit is contained in:
Daniel Kluge 2022-06-12 15:28:01 +02:00
parent e1cc5b77c1
commit d1fa051335
5 changed files with 26 additions and 0 deletions

View File

@ -6,6 +6,7 @@ trigger:
- push
branch:
- senpai
- dev
steps:
- name: test-build
image: asciidoctor/docker-asciidoctor
@ -34,3 +35,27 @@ steps:
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
- git pull

0
diaries/.gitkeep Normal file
View File

View File

@ -1,5 +1,6 @@
[
{
"type": "project",
"name": "homepage",
"short": "This website.",
"desc": [

0
projects/.gitkeep Normal file
View File