added ci for drone
continuous-integration/drone Build is failing Details

This commit is contained in:
Gianmarco Pettinato 2021-12-16 10:41:15 +01:00
parent 9a59250463
commit e408877dc1
2 changed files with 23 additions and 0 deletions

22
.drone.yml Normal file
View File

@ -0,0 +1,22 @@
---
kind: pipeline
type: docker
name: deploy
steps:
- name: build-site
image: node:latest
commands:
- npm install
- npm run build
- name: deploy
image: mwienk/docker-lftp
environment:
$USERNAME:
from_secret: username
$PASSWORD:
from_secret: password
$HOST:
from_secret: host
commands:
- lftp -c "open -u $USERNAME,$PASSWORD $HOST; mirror -Rnev ./build ./www --ignore-time --parallel=10 --exclude .htaccess --exclude-glob .git* --exclude .git/"

View File

@ -1,3 +1,4 @@
[![Build Status](https://dev.jatus.tech/api/badges/Jatus/cv-site/status.svg)](https://dev.jatus.tech/Jatus/cv-site)
# My CV
I created this website to collect and present all my experiences and works. I made these pages using Typescript and Svelte. To manage the content, I've created a simple system to load content from a couple of JSON files that define where to put the information.