CI: Migrate to Woodpecker
All checks were successful
ci/woodpecker/cron/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/cron/woodpecker Pipeline was successful
This commit is contained in:
parent
6ab57e7faf
commit
658ec328a8
@ -1,27 +1,17 @@
|
|||||||
---
|
clone:
|
||||||
kind: pipeline
|
git:
|
||||||
type: docker
|
image: woodpeckerci/plugin-git
|
||||||
name: default
|
settings:
|
||||||
|
recursive: true
|
||||||
platform:
|
|
||||||
os: linux
|
|
||||||
arch: arm64
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: fetch submodules
|
build:
|
||||||
image: alpine
|
|
||||||
commands:
|
|
||||||
- apk add --no-cache git
|
|
||||||
- git submodule init
|
|
||||||
- git submodule update --recursive --remote
|
|
||||||
|
|
||||||
- name: build
|
|
||||||
image: plugins/hugo
|
image: plugins/hugo
|
||||||
settings:
|
settings:
|
||||||
hugo_version: 0.84.4
|
hugo_version: 0.84.4
|
||||||
validate: true
|
validate: true
|
||||||
|
|
||||||
- name: publish on s3
|
publish-on-s3:
|
||||||
image: plugins/s3
|
image: plugins/s3
|
||||||
settings:
|
settings:
|
||||||
endpoint: https://storage.nemunai.re
|
endpoint: https://storage.nemunai.re
|
||||||
@ -33,10 +23,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