Gitea: Blog
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

54 lines
793 B

---
kind: pipeline
name: default
platform:
os: linux
arch: amd64
workspace:
base: /srv/app
path: src
steps:
- name: build
pull: always
image: webhippie/hugo:latest
commands:
- make clean
- make build
- name: publish
pull: always
image: lucap/drone-netlify:latest
settings:
path: public/
site_id: b3cd7cc2-68be-4467-b3a6-38f1fdfa0cfc
environment:
NETLIFY_TOKEN:
from_secret: netlify_token
when:
event:
- push
- name: discord
pull: always
image: appleboy/drone-discord:1
environment:
DISCORD_WEBHOOK_ID:
from_secret: discord_webhook_id
DISCORD_WEBHOOK_TOKEN:
from_secret: discord_webhook_token
when:
event:
- push
- tag
status:
- changed
- failure
trigger:
branch:
- master
...