This commit is contained in:
parent
9a59250463
commit
e408877dc1
22
.drone.yml
Normal file
22
.drone.yml
Normal 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/"
|
@ -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
|
# 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.
|
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
Block a user