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 - push
branch: branch:
- senpai - senpai
- dev
steps: steps:
- name: test-build - name: test-build
image: asciidoctor/docker-asciidoctor image: asciidoctor/docker-asciidoctor
@ -34,3 +35,27 @@ steps:
commands: commands:
- cd /srv/website/projects - cd /srv/website/projects
- git pull - 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", "name": "homepage",
"short": "This website.", "short": "This website.",
"desc": [ "desc": [

0
projects/.gitkeep Normal file
View File