Compare commits
1 Commits
cc14a8bad2
...
09626eb4c0
Author | SHA1 | Date |
---|---|---|
Simon | 09626eb4c0 |
25
.drone.yml
25
.drone.yml
|
@ -34,9 +34,6 @@ steps:
|
|||
|
||||
- name: install npm
|
||||
image: node:current-alpine
|
||||
volumes:
|
||||
- name: hugo-theme-lowtech_node_modules
|
||||
path: /drone/src/themes/hugo-theme-lowtech/node_modules
|
||||
commands:
|
||||
- (cd themes/hugo-theme-lowtech && npm i)
|
||||
|
||||
|
@ -47,9 +44,6 @@ steps:
|
|||
|
||||
- name: typo
|
||||
image: node:current-alpine
|
||||
volumes:
|
||||
- name: hugo-theme-lowtech_node_modules
|
||||
path: /drone/src/themes/hugo-theme-lowtech/node_modules
|
||||
commands:
|
||||
- node themes/hugo-theme-lowtech/scripts/typo
|
||||
|
||||
|
@ -68,11 +62,9 @@ steps:
|
|||
image_pull_secrets:
|
||||
- REGISTRY_CONFIG
|
||||
|
||||
# drone repo update resilien/resilien.fr --trusted=true
|
||||
volumes:
|
||||
- name: hugo-theme-lowtech_node_modules
|
||||
host:
|
||||
path: /tmp/drone/cache/resilien/resilien_fr/themes/hugo-theme-lowtech
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
|
@ -92,9 +84,6 @@ steps:
|
|||
|
||||
- name: install npm
|
||||
image: node:current-alpine
|
||||
volumes:
|
||||
- name: hugo-theme-lowtech_node_modules
|
||||
path: /drone/src/themes/hugo-theme-lowtech/node_modules
|
||||
commands:
|
||||
- (cd themes/hugo-theme-lowtech && npm i)
|
||||
|
||||
|
@ -105,9 +94,6 @@ steps:
|
|||
|
||||
- name: typo
|
||||
image: node:current-alpine
|
||||
volumes:
|
||||
- name: hugo-theme-lowtech_node_modules
|
||||
path: /drone/src/themes/hugo-theme-lowtech/node_modules
|
||||
commands:
|
||||
- node themes/hugo-theme-lowtech/scripts/typo
|
||||
|
||||
|
@ -125,8 +111,3 @@ steps:
|
|||
|
||||
image_pull_secrets:
|
||||
- REGISTRY_CONFIG
|
||||
|
||||
volumes:
|
||||
- name: hugo-theme-lowtech_node_modules
|
||||
host:
|
||||
path: /tmp/drone/cache/resilien/resilien_fr/themes/hugo-theme-lowtech
|
||||
|
|
Reference in New Issue