histoiredunpied/.drone.yml

47 lines
570 B
YAML

---
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: arm
steps:
- name: install
image: kosssi/hugo:0.0.1
commands:
- git submodule update --init
- (cd themes/hugo-theme-lowtech && npm i)
- npm run build
- docker version
when:
branch:
- master
event:
- push
- name: logs
image: node:12.16.1
commands:
- ls -alh themes
when:
event:
- cron
cron:
- nightly
---
kind: pipeline
type: exec
name: test
platform:
os: linux
arch: arm
steps:
- name: greeting
commands:
- echo hello world