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 changed files with 8 additions and 24 deletions
42
.drone.yml
42
.drone.yml
|
|
@ -1,42 +0,0 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm64
|
||||
|
||||
steps:
|
||||
- name: fetch submodules
|
||||
image: alpine
|
||||
commands:
|
||||
- apk add --no-cache git
|
||||
- git submodule init
|
||||
- git submodule update --recursive --remote
|
||||
|
||||
- name: build
|
||||
image: plugins/hugo
|
||||
settings:
|
||||
hugo_version: 0.84.4
|
||||
validate: true
|
||||
|
||||
- name: publish on s3
|
||||
image: plugins/s3
|
||||
settings:
|
||||
endpoint: https://storage.nemunai.re
|
||||
path_style: true
|
||||
bucket: happydomain-blog
|
||||
access_key:
|
||||
from_secret: s3_access_key
|
||||
secret_key:
|
||||
from_secret: s3_secret_key
|
||||
source: public/**/*
|
||||
strip_prefix: public/
|
||||
target: /${DRONE_BRANCH//\//-}
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- cron
|
||||
- push
|
||||
- tag
|
||||
Loading…
Add table
Add a link
Reference in a new issue