diff --git a/.drone.yml b/.drone.yml index 87d71df..d72ebb4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,5 +1,5 @@ kind: pipeline -name: hugo +name: hugo build and deploy type: docker platform: os: linux @@ -10,15 +10,15 @@ trigger: steps: -#- name: git pull submodules -# image: alpine/git -# settings: -# user: -# from_secret: GIT_USER -# password: -# from_secret: GIT_PASSWORD -# commands: -# - git submodule update --init --recursive +- name: git pull submodules + image: alpine/git + settings: + user: + from_secret: GIT_USER + password: + from_secret: GIT_PASSWORD + commands: + - git submodule update --init --recursive - name: build hugo site image: plugins/hugo @@ -28,7 +28,7 @@ steps: extended: true validate: true config: config.toml - content: data +# content: data output: ./public commands: - apk add libc6-compat libstdc++