From cb7d392739806b7b18e3a412d78b470c500a562b Mon Sep 17 00:00:00 2001 From: Jack Hadrill Date: Sun, 3 Jan 2021 05:30:27 +0000 Subject: [PATCH] Modify Drone deploy config --- .drone.yml | 5 +++-- README.md | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index a635aa4..441bf45 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,7 +4,7 @@ name: deploy steps: - name: build - image: node:15 + image: node:lts commands: - npm install - npm run build @@ -21,4 +21,5 @@ steps: from_secret: ftp_password commands: - apk --no-cache add lftp - - lftp -e "mirror -R dist vcinemaapp" -u $USERNAME,$PASSWORD storage.bunnycdn.com + - cd dist + - lftp -e "mirror --delete-first -P 10 -R" -u $USERNAME,$PASSWORD storage.bunnycdn.com diff --git a/README.md b/README.md index 2db6020..6b588e6 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ -# VCinema -[![Build Status](https://drone.jacknet.io/api/badges/TerribleCodeClub/VCinema/status.svg?ref=refs/heads/master)](https://drone.jacknet.io/TerribleCodeClub/VCinema) +# VCinema + +[![Build Status](https://drone.jacknet.io/api/badges/TerribleCodeClub/VCinema/status.svg?ref=refs/heads/master)](https://drone.jacknet.io/TerribleCodeClub/VCinema) + Web app for VCinema ## Project setup