Le framework HUGO utilisé pour créer son CV en 2 minutes https://cv.gregandev.fr
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hugo-cv/.drone.yml

48 lines
938 B

kind: pipeline
name: hugo
type: docker
platform:
os: linux
arch: arm64
trigger:
branch:
- master
steps:
- name: git pull submodules
image: alpine/git
settings:
user:
from_secret: GIT_USER
password:
from_secret: GIT_PASSWORD
commands:
- git submodule update --init --recursive
- name: build hugo site
image: plugins/hugo
settings:
hugo_version: 0.69.0
theme: ameida-cv
extended: true
validate: true
config: config.toml
content: content
output: ./public
commands:
- apk add libc6-compat libstdc++
- /bin/hugo
- name: deploy on server
image: drillster/drone-rsync # image docker permettant d'utiliser rsync pour déployer des fichiers sur un ou plusieurs hôtes
settings:
hosts: ["192.168.1.100"]
target: /var/www/html/hugo-cv
source: public/*
port: 2021
user:
from_secret: RSYNC_USER
key:
from_secret: RSYNC_SSH_KEY