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

23 lines
483 B
YAML
Raw Normal View History

2023-12-05 11:28:35 +00:00
kind: pipeline
2023-12-06 14:36:30 +00:00
type: docker
2023-12-05 11:28:35 +00:00
name: default
2023-12-06 14:57:16 +00:00
#secrets: [ AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY ]
2023-12-05 11:28:35 +00:00
steps:
2023-12-13 13:04:29 +00:00
- name: Version check
image: plugins/hugo
commands:
- echo "Checking Hugo version."
- hugo version
- name: Build
image: plugins/hugo
2023-12-06 15:10:21 +00:00
commands:
2023-12-13 13:04:29 +00:00
- hugo
#- minify -r -o /drone/src/build /drone/src/build
- name: Deploy
2023-12-13 12:35:29 +00:00
image: plugins/hugo
settings:
2023-12-13 12:37:19 +00:00
config: hugo.toml
2023-12-13 12:35:29 +00:00
validate: true
2023-12-13 12:45:06 +00:00
# commands:
# - hugo deploy