revert 837c7dd7fd1ad62e4c38a4b057943937f211fc1d
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
revert „.woodpecker.yml“ hinzufügen
This commit is contained in:
parent
837c7dd7fd
commit
8073318098
@ -1,47 +0,0 @@
|
|||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: website-build
|
|
||||||
platform:
|
|
||||||
os: linux
|
|
||||||
arch: amd64
|
|
||||||
steps:
|
|
||||||
- name: build
|
|
||||||
image: plugins/hugo
|
|
||||||
settings:
|
|
||||||
hugo_version: 0.109.0
|
|
||||||
validate: false
|
|
||||||
extended: true
|
|
||||||
url: https://gcg.gitea-pages.cantorgymnasium.de
|
|
||||||
commands:
|
|
||||||
- apk add --update --no-cache tzdata brotli git
|
|
||||||
- /bin/drone-hugo
|
|
||||||
- find public -type f -regex '.*\.\(htm\|html\|txt\|text\|js\|css\)$' -print0 | xargs -0 gzip -9 -f -k
|
|
||||||
- git init public
|
|
||||||
|
|
||||||
- name: git-push
|
|
||||||
image: appleboy/drone-git-push
|
|
||||||
settings:
|
|
||||||
branch: pages
|
|
||||||
remote:
|
|
||||||
from_secret: drone_remote
|
|
||||||
force: true
|
|
||||||
commit: true
|
|
||||||
path: public
|
|
||||||
author_name: GCG.Admin
|
|
||||||
author_email: admin@cantor-gymnasium.de
|
|
||||||
|
|
||||||
|
|
||||||
- name: send telegram notification
|
|
||||||
image: appleboy/drone-telegram
|
|
||||||
settings:
|
|
||||||
token:
|
|
||||||
from_secret: telegram_token
|
|
||||||
to:
|
|
||||||
from_secret: telegram_room_id
|
|
||||||
when:
|
|
||||||
status:
|
|
||||||
- success
|
|
||||||
- failure
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- master
|
|
Loading…
x
Reference in New Issue
Block a user