This commit is contained in:
parent
92dad4f45e
commit
5457546c9b
1 changed files with 8 additions and 2 deletions
10
.drone.yml
10
.drone.yml
|
@ -4,22 +4,28 @@ type: docker
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: node
|
image: node
|
||||||
|
volumes:
|
||||||
|
- name: dist
|
||||||
|
path: /dist
|
||||||
commands:
|
commands:
|
||||||
- npm install
|
- npm install
|
||||||
- npm run generate
|
- npm run generate
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: cschlosser/drone-ftps
|
image: cschlosser/drone-ftps
|
||||||
|
volumes:
|
||||||
|
- name: dist
|
||||||
|
path: /dist
|
||||||
environment:
|
environment:
|
||||||
FTP_USERNAME:
|
FTP_USERNAME:
|
||||||
from_secret: username
|
from_secret: username
|
||||||
FTP_PASSWORD:
|
FTP_PASSWORD:
|
||||||
from_secret: password
|
from_secret: password
|
||||||
PLUGIN_HOSTNAME: web-1.fem.tu-ilmenau.de:21
|
PLUGIN_HOSTNAME: web-1.fem.tu-ilmenau.de:21
|
||||||
PLUGIN_SRC_DIR: ./dist/*
|
PLUGIN_SRC_DIR: /dist/
|
||||||
PLUGIN_DEST_DIR: /iswision.de/www/public_html/iswision2021
|
PLUGIN_DEST_DIR: /iswision.de/www/public_html/iswision2021
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: dist
|
||||||
temp: {}
|
temp: {}
|
Loading…
Reference in a new issue