23 lines
No EOL
538 B
YAML
23 lines
No EOL
538 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: Deploy
|
|
image: plugins/hugo
|
|
environment:
|
|
AWS_ACCESS_KEY_ID:
|
|
from_secret: AWS_ACCESS_KEY_ID
|
|
AWS_SECRET_ACCESS_KEY:
|
|
from_secret: AWS_SECRET_ACCESS_KEY
|
|
commands:
|
|
- hugo --config hugo.toml
|
|
- hugo deploy --config hugo.toml |