fix: cache
This commit is contained in:
parent
2232722982
commit
9da2b98eb8
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue