CI: Move to Woodpecker
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
nemunaire 2023-10-27 21:43:03 +02:00
parent 4830c97393
commit 25d32c02f2

View File

@ -1,30 +1,17 @@
---
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: arm64
clone: clone:
disable: true git:
image: woodpeckerci/plugin-git
settings:
recursive: true
steps: steps:
- name: clone build:
image: alpine
commands:
- apk add --no-cache git
- git clone --recursive $DRONE_GIT_HTTP_URL .
- git checkout $DRONE_COMMIT
- name: 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: plugins/s3
settings: settings:
endpoint: https://storage.nemunai.re endpoint: https://storage.nemunai.re
@ -36,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