Modify Drone deploy config
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Jack Hadrill 2021-01-03 05:30:27 +00:00
parent 9f5936b2fb
commit cb7d392739
2 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -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