added ci for drone
continuous-integration/drone Build is failing
Details
continuous-integration/drone Build is failing
Details
This commit is contained in:
parent
9a59250463
commit
e408877dc1
|
@ -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/"
|
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue