[TASK] update drone.yml
This commit is contained in:
parent
bfc736749f
commit
663a090b3f
14
.drone.yml
14
.drone.yml
@ -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
|
||||
@ -29,6 +29,14 @@ steps:
|
||||
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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user