Homepage Revamp #191

Merged
Denys Konovalov merged 6 commits from :master into master 2023-02-01 20:35:01 +01:00
2 changed files with 36 additions and 12 deletions
Showing only changes of commit b47ec86463 - Show all commits

36
.drone.dev.yml Normal file

@ -0,0 +1,36 @@
kind: pipeline
type: docker
name: dev
steps:
- name: hugo build
image: plugins/hugo
settings:
hugo_version: 0.110.0
validate: false
extended: true
url: https://dev.cantorgymnasium.de/
commands:
- apk add --update --no-cache tzdata
- /bin/drone-hugo
- name: deploy
image: drillster/drone-rsync
settings:
hosts: [ "cantorgymnasium.de" ]
port:
from_secret: ssh_port
user: web-push
key:
from_secret: ssh_key
source: public/
target: /opt/data/webdata/gcg-website-dev/
recursive: true
delete: true
trigger:
branch:
- master
event:
- push
- cron
- rollback

@ -81,18 +81,6 @@ steps:
recursive: true recursive: true
delete: true delete: true
- name: notification
image: appleboy/drone-telegram
settings:
token:
from_secret: telegram_token
to:
from_secret: telegram_room_id
when:
status:
- success
- failure
trigger: trigger:
branch: branch:
- master - master