enable drone builds
Alle Prüfungen waren erfolgreich
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is passing

Dieser Commit ist enthalten in:
Nick Slowinski 2023-07-07 11:02:46 +02:00
Ursprung d057015fe7
Commit 67f5773dcc
Signiert von: nickslowinski
GPG-Schlüssel-ID: A28671573AA347CC

55
.drone.yml Normale Datei
Datei anzeigen

@ -0,0 +1,55 @@
name: test
kind: pipeline
type: docker
platform:
os: linux
arch: amd64
steps:
- name: clone submodules
image: alpine/git:2.40.1
commands:
- git submodule update --init --recursive
- name: build
image: klakegg/hugo:0.111.3-ext-alpine-ci
trigger:
event:
- push
- pull_request
---
name: deploy to production
kind: pipeline
type: docker
platform:
os: linux
arch: amd64
steps:
- name: clone submodules
image: alpine/git:2.40.1
commands:
- git submodule update --init --recursive
- name: build
image: klakegg/hugo:0.111.3-ext-alpine-ci
- name: deploy to production
image: appleboy/drone-scp
settings:
host: helene.nick-slowinski.de
username: drone_nick-slowinski_de-www
key:
from_secret: ssh_private_key-drone_nick-slowinski_de-www
target: /var/www/nick-slowinski.de/www
source: /drone/src/public
rm: true
overwrite: true
strip_components: 3
trigger:
event:
- promote
target:
- production