1
0
Fork 0
palette-demo-EnvieAppartAgee/.drone.yml

24 lines
No EOL
531 B
YAML

kind: pipeline
type: docker
name: default
#secrets: [ AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY ]
steps:
- name: Version check
image: plugins/hugo
commands:
- echo "Checking Hugo version."
- hugo version
- echo "Checking folder"
- ls
- name: Build
image: plugins/hugo
settings:
validate: true
commands:
- hugo --config hugo.toml
#- minify -r -o /drone/src/build /drone/src/build
- name: Deploy
image: plugins/hugo
commands:
- hugo deploy --config hugo.toml