[TASK] update drone.yml

This commit is contained in:
Christian Seyfferth 2020-05-09 00:01:18 +02:00
parent bfc736749f
commit 663a090b3f

View File

@ -9,16 +9,16 @@ steps:
- name: docker_sock
path: /var/run/docker.sock
commands:
- docker build --no-cache -t gulp-node:${DRONE_COMMIT} -f Scripte/Dockerfile .
- docker build --no-cache -t gulp-node:1 -f Scripte/Dockerfile .
- name: Build Website
image: gulp-node:${DRONE_COMMIT}
image: gulp-node:1
commands:
- npm install
- gulp
- zip public.zip -r dist/*
- name: Upload Artifacts
- name: Upload To Gitea-Release
image: plugins/gitea-release
settings:
base_url: https://git.chrosey.de
@ -28,7 +28,15 @@ steps:
- public.zip
when:
event: tag
- name: Upload to Nextcloud
image: vividboarder/drone-webdav
file: public.zip
destination: https://nextcloud.chrosey.de/remote.php/dav/files/chrosey/elkes_homepage/
secrets: [webdav_username, webdav_password]
when:
event: tag
volumes:
- name: docker_sock
host: