diff --git a/.drone.yml b/.drone.yml index 9218f1a..382f581 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,9 +1,46 @@ --- kind: pipeline +type: docker name: default +platform: + os: linux + arch: arm + steps: - name: install - image: node + image: kosssi/hugo:0.0.1 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 diff --git a/.env.example b/.env.example index 3031824..dafdacd 100644 --- a/.env.example +++ b/.env.example @@ -1,6 +1,7 @@ +TIMEZONE=Europe/Paris NAME=histoiredunpied URL=histoiredunpied.com -MATOMO_URL=https://matomo.fr -MATOMO_IDSITE=1 -MATOMO_TOKEN_AUTH= +IMAGE=kosssi/nginx-lowtech:0.0.2 +HUGO_VERSION=0.67.1 + LOG_PATH=/var/log/nginx/access.log diff --git a/themes/hugo-theme-lowtech b/themes/hugo-theme-lowtech index 5c3965e..d911a2e 160000 --- a/themes/hugo-theme-lowtech +++ b/themes/hugo-theme-lowtech @@ -1 +1 @@ -Subproject commit 5c3965e4c27002e7390b27d8eb784536bc7cac52 +Subproject commit d911a2e9a6b2985f0b43e85aa4bf011a3962eb55