Files
homepage/.drone.yml
Torma Kristóf 5d5499526c
Some checks failed
continuous-integration/drone/push Build is failing
wrangle
2022-05-21 17:21:38 +02:00

22 lines
509 B
YAML

kind: pipeline
type: docker
name: Static KMLabz website
steps:
- name: Validate HTML
image: ubuntu
commands:
- apt-get update && apt-get install -y tidy
- tidy -imu webpagefiles/index.html || true
- name: Deploy to Cloudflare Pages
image: node
environment:
CLOUDFLARE_ACCOUNT_ID:
from_secret: CLOUDFLARE_ACCOUNT_ID
CLOUDFLARE_API_TOKEN:
from_secret: CLOUDFLARE_API_TOKEN
commands:
- npm install -g wrangler
- wrangler pages publish webpagefiles --commit-dirty=true