diff --git a/.drone.yml b/.drone.yml index ad81785..c91de42 100644 --- a/.drone.yml +++ b/.drone.yml @@ -45,9 +45,9 @@ steps: - name: install npm image: node:current-alpine - # volumes: - # - name: hugo-theme-lowtech_node_modules - # path: /drone/src/themes/hugo-theme-lowtech/node_modules + volumes: + - name: hugo-theme-lowtech_node_modules + path: /drone/src/themes/hugo-theme-lowtech/node_modules environment: DIRECTUS_URL: from_secret: DIRECTUS_URL @@ -64,9 +64,9 @@ steps: - name: typo image: node:current-alpine - # volumes: - # - name: hugo-theme-lowtech_node_modules - # path: /drone/src/themes/hugo-theme-lowtech/node_modules + volumes: + - name: hugo-theme-lowtech_node_modules + path: /drone/src/themes/hugo-theme-lowtech/node_modules commands: - node themes/hugo-theme-lowtech/scripts/typo @@ -85,10 +85,10 @@ steps: image_pull_secrets: - REGISTRY_CONFIG -# volumes: -# - name: hugo-theme-lowtech_node_modules -# host: -# path: /tmp/drone/cache/weko/cremeaux/themes/hugo-theme-lowtech +volumes: +- name: hugo-theme-lowtech_node_modules + host: + path: /tmp/drone/cache/weko/cremeaux/themes/hugo-theme-lowtech --- kind: pipeline @@ -107,9 +107,9 @@ steps: - name: install npm image: node:current-alpine - # volumes: - # - name: hugo-theme-lowtech_node_modules - # path: /drone/src/themes/hugo-theme-lowtech/node_modules + volumes: + - name: hugo-theme-lowtech_node_modules + path: /drone/src/themes/hugo-theme-lowtech/node_modules environment: DIRECTUS_URL: from_secret: DIRECTUS_URL @@ -126,9 +126,9 @@ steps: - name: typo image: node:current-alpine - # volumes: - # - name: hugo-theme-lowtech_node_modules - # path: /drone/src/themes/hugo-theme-lowtech/node_modules + volumes: + - name: hugo-theme-lowtech_node_modules + path: /drone/src/themes/hugo-theme-lowtech/node_modules commands: - node themes/hugo-theme-lowtech/scripts/typo @@ -147,7 +147,7 @@ steps: image_pull_secrets: - REGISTRY_CONFIG -# volumes: -# - name: hugo-theme-lowtech_node_modules -# host: -# path: /tmp/drone/cache/weko/cremeaux/themes/hugo-theme-lowtech +volumes: +- name: hugo-theme-lowtech_node_modules + host: + path: /tmp/drone/cache/weko/cremeaux/themes/hugo-theme-lowtech