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

23 lines
538 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
2023-12-13 13:19:05 +00:00
- echo "Checking folder"
2023-12-13 13:21:32 +00:00
- ls
2023-12-13 13:04:29 +00:00
- name: Deploy
2023-12-13 12:35:29 +00:00
image: plugins/hugo
2023-12-13 13:33:55 +00:00
environment:
AWS_ACCESS_KEY_ID:
from_secret: AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY:
from_secret: AWS_SECRET_ACCESS_KEY
2023-12-13 13:24:07 +00:00
commands:
2024-01-12 09:42:36 +00:00
- hugo --config hugo.toml
2023-12-13 13:24:07 +00:00
- hugo deploy --config hugo.toml