CI: Migrate to Woodpecker
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
e798088701
commit
33affdebe1
@ -1,21 +1,12 @@
|
|||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: default
|
|
||||||
|
|
||||||
platform:
|
|
||||||
os: linux
|
|
||||||
arch: arm64
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
build:
|
||||||
image: plugins/hugo
|
image: plugins/hugo
|
||||||
settings:
|
settings:
|
||||||
hugo_version: 0.70.0
|
hugo_version: 0.70.0
|
||||||
validate: true
|
validate: true
|
||||||
|
|
||||||
- name: publish on s3
|
publish-on-s3:
|
||||||
image: plugins/s3
|
image: woodpeckerci/plugin-s3
|
||||||
settings:
|
settings:
|
||||||
endpoint: https://storage.nemunai.re
|
endpoint: https://storage.nemunai.re
|
||||||
path_style: true
|
path_style: true
|
||||||
@ -26,10 +17,4 @@ steps:
|
|||||||
from_secret: s3_secret_key
|
from_secret: s3_secret_key
|
||||||
source: public/**/*
|
source: public/**/*
|
||||||
strip_prefix: public/
|
strip_prefix: public/
|
||||||
target: /${DRONE_BRANCH//\//-}
|
target: "/${CI_COMMIT_BRANCH//\\//-}"
|
||||||
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- cron
|
|
||||||
- push
|
|
||||||
- tag
|
|
Loading…
Reference in New Issue
Block a user