Compare commits

..

1 Commits

Author SHA1 Message Date
Simon 09626eb4c0 feat: Add auto build website with Drone
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
2022-02-01 11:26:23 +01:00
1 changed files with 3 additions and 22 deletions

View File

@ -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