add temp volume
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
garionion 2021-05-17 18:35:13 +02:00
parent 92dad4f45e
commit 5457546c9b
Signed by: garionion
GPG key ID: 53352FA607FA681A

View file

@ -4,22 +4,28 @@ type: docker
steps:
- name: build
image: node
volumes:
- name: dist
path: /dist
commands:
- npm install
- npm run generate
- name: deploy
image: cschlosser/drone-ftps
volumes:
- name: dist
path: /dist
environment:
FTP_USERNAME:
from_secret: username
FTP_PASSWORD:
from_secret: password
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
when:
branch:
- main
volumes:
- name: cache
- name: dist
temp: {}