fix: cache
This commit is contained in:
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
|
||||
|
||||
|
Reference in New Issue
Block a user