You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
473 B
YAML
28 lines
473 B
YAML
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: submodules
|
|
image: alpine/git
|
|
commands:
|
|
- git submodule update --init --recursive
|
|
- name: build
|
|
image: alpine:3
|
|
commands:
|
|
- apk add hugo
|
|
- hugo
|
|
- name: sync
|
|
trigger:
|
|
branch:
|
|
main
|
|
image: plugins/s3-sync:1
|
|
settings:
|
|
access_key:
|
|
from_secret: blog_upload_id
|
|
secret_key:
|
|
from_secret: blog_upload_key
|
|
region: us-east-1
|
|
bucket: blog.ndumas.com
|
|
source: public/
|
|
target: /
|