feat: Update drone image
This commit is contained in:
parent
df98d9106f
commit
8fda48c2d3
41
.drone.yml
41
.drone.yml
|
@ -1,9 +1,46 @@
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: arm
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: install
|
- name: install
|
||||||
image: node
|
image: kosssi/hugo:0.0.1
|
||||||
commands:
|
commands:
|
||||||
- npm install
|
- 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
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
|
TIMEZONE=Europe/Paris
|
||||||
NAME=histoiredunpied
|
NAME=histoiredunpied
|
||||||
URL=histoiredunpied.com
|
URL=histoiredunpied.com
|
||||||
MATOMO_URL=https://matomo.fr
|
IMAGE=kosssi/nginx-lowtech:0.0.2
|
||||||
MATOMO_IDSITE=1
|
HUGO_VERSION=0.67.1
|
||||||
MATOMO_TOKEN_AUTH=
|
|
||||||
LOG_PATH=/var/log/nginx/access.log
|
LOG_PATH=/var/log/nginx/access.log
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 5c3965e4c27002e7390b27d8eb784536bc7cac52
|
Subproject commit d911a2e9a6b2985f0b43e85aa4bf011a3962eb55
|
Loading…
Reference in New Issue