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
|
||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||
volumes:
|
||||
- name: hugo-resources
|
||||
path: /drone/src/resources
|
||||
# volumes:
|
||||
# - name: hugo-resources
|
||||
# path: /drone/src/resources
|
||||
commands:
|
||||
- hugo --minify --environment production
|
||||
|
||||
|
@ -131,9 +131,9 @@ steps:
|
|||
|
||||
- name: build website
|
||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||
volumes:
|
||||
- name: hugo-resources
|
||||
path: /drone/src/resources
|
||||
# volumes:
|
||||
# - name: hugo-resources
|
||||
# path: /drone/src/resources
|
||||
commands:
|
||||
- hugo --minify --buildDrafts --buildFuture --environment staging
|
||||
|
||||
|
|
Loading…
Reference in New Issue