Torma Kristóf
3b86252b1f
All checks were successful
continuous-integration/drone/push Build is passing
23 lines
521 B
YAML
23 lines
521 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 index.html || true
|
|
|
|
- name: Deploy to Cloudflare Pages
|
|
image: node
|
|
settings:
|
|
CLOUDFLARE_ACCOUNT_ID:
|
|
from_secret: CLOUDFLARE_ACCOUNT_ID
|
|
CLOUDFLARE_API_TOKEN:
|
|
from_secret: CLOUDFLARE_API_TOKEN
|
|
commands:
|
|
tags:
|
|
- npm install wrangler --save-dev
|
|
- npx wrangler pages publish . --project-name=kmlabz-homepage
|