chores(ci): reenable caching step
Some checks failed
the build failed

This commit is contained in:
Valentin Brandl 2018-08-15 15:19:28 +02:00
parent 659a847545
commit 3053ecd476
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9

View File

@ -1,23 +1,23 @@
pipeline:
# restore-cache-dev:
# image: drillster/drone-volume-cache
# restore: true
# mount:
# - public
# volumes:
# - /home/gitea/gitea/drone_build_cache/staging.vbrandl.net:/cache
# when:
# branch: develop
restore-cache-dev:
image: drillster/drone-volume-cache
restore: true
mount:
- public
volumes:
- /home/gitea/gitea/drone_build_cache/staging.vbrandl.net:/cache
when:
branch: develop
# restore-cache-prod:
# image: drillster/drone-volume-cache
# restore: true
# mount:
# - public
# volumes:
# - /home/gitea/gitea/drone_build_cache/vbrandl.net:/cache
# when:
# branch: master
restore-cache-prod:
image: drillster/drone-volume-cache
restore: true
mount:
- public
volumes:
- /home/gitea/gitea/drone_build_cache/vbrandl.net:/cache
when:
branch: master
build-dev:
image: cbrgm/drone-hugo:latest
@ -66,22 +66,22 @@ pipeline:
when:
branch: master
# rebuild-cache-dev:
# image: drillster/drone-volume-cache
# rebuild: true
# mount:
# - public
# volumes:
# - /home/gitea/gitea/drone_build_cache/staging.vbrandl.net:/cache
# when:
# branch: develop
rebuild-cache-dev:
image: drillster/drone-volume-cache
rebuild: true
mount:
- public
volumes:
- /home/gitea/gitea/drone_build_cache/staging.vbrandl.net:/cache
when:
branch: develop
# rebuild-cache-prod:
# image: drillster/drone-volume-cache
# rebuild: true
# mount:
# - public
# volumes:
# - /home/gitea/gitea/drone_build_cache/vbrandl.net:/cache
# when:
# branch: master
rebuild-cache-prod:
image: drillster/drone-volume-cache
rebuild: true
mount:
- public
volumes:
- /home/gitea/gitea/drone_build_cache/vbrandl.net:/cache
when:
branch: master