fix: cache
This commit is contained in:
12
.drone.yml
12
.drone.yml
@ -61,9 +61,9 @@ steps:
|
|||||||
|
|
||||||
- name: build website
|
- name: build website
|
||||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||||
volumes:
|
# volumes:
|
||||||
- name: hugo-resources
|
# - name: hugo-resources
|
||||||
path: /drone/src/resources
|
# path: /drone/src/resources
|
||||||
commands:
|
commands:
|
||||||
- hugo --minify --environment production
|
- hugo --minify --environment production
|
||||||
|
|
||||||
@ -131,9 +131,9 @@ steps:
|
|||||||
|
|
||||||
- name: build website
|
- name: build website
|
||||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||||
volumes:
|
# volumes:
|
||||||
- name: hugo-resources
|
# - name: hugo-resources
|
||||||
path: /drone/src/resources
|
# path: /drone/src/resources
|
||||||
commands:
|
commands:
|
||||||
- hugo --minify --buildDrafts --buildFuture --environment staging
|
- hugo --minify --buildDrafts --buildFuture --environment staging
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user