bitdispenser.dev/.drone.yml

27 lines
534 B
YAML
Raw Normal View History

2021-04-27 22:27:41 +02:00
kind: pipeline
type: docker
name: default
steps:
2021-04-27 22:44:55 +02:00
- name: lfs
image: alpine/git
commands:
2021-04-27 22:47:25 +02:00
- ls -lah static/
2021-04-27 22:46:08 +02:00
- apk add --no-cache git-lfs
2021-04-27 22:44:55 +02:00
- git lfs install
- git lfs pull
2021-04-27 22:47:25 +02:00
- ls -lah static/
2021-04-27 22:36:54 +02:00
- name: submodules
2021-04-27 22:35:01 +02:00
image: alpine/git
commands:
- git submodule update --recursive --remote
2021-04-27 22:36:54 +02:00
- name: lint checks
2021-04-27 22:27:41 +02:00
image: node:14.16-alpine
commands:
- npm install
- npm run lint
2021-04-27 22:36:54 +02:00
- name: hugo build
2021-04-27 22:27:41 +02:00
image: klakegg/hugo:0.82.1-ext-alpine-ci
commands:
- hugo