CI: Migrate to Woodpecker
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
nemunaire 2023-10-30 12:13:19 +01:00
parent e798088701
commit 33affdebe1
1 changed files with 4 additions and 19 deletions

View File

@ -1,21 +1,12 @@
---
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: arm64
steps:
- name: build
build:
image: plugins/hugo
settings:
hugo_version: 0.70.0
validate: true
- name: publish on s3
image: plugins/s3
publish-on-s3:
image: woodpeckerci/plugin-s3
settings:
endpoint: https://storage.nemunai.re
path_style: true
@ -26,10 +17,4 @@ steps:
from_secret: s3_secret_key
source: public/**/*
strip_prefix: public/
target: /${DRONE_BRANCH//\//-}
trigger:
event:
- cron
- push
- tag
target: "/${CI_COMMIT_BRANCH//\\//-}"