change wrangler install method
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2022-05-21 17:12:27 +02:00
parent 05a87395ae
commit 7ee8368dfe

View File

@ -7,7 +7,7 @@ steps:
image: ubuntu
commands:
- apt-get update && apt-get install -y tidy
- tidy -imu index.html || true
- tidy -imu webpagefiles/index.html || true
- name: Deploy to Cloudflare Pages
image: node
@ -17,5 +17,5 @@ steps:
CLOUDFLARE_API_TOKEN:
from_secret: CLOUDFLARE_API_TOKEN
commands:
- npm install wrangler --save-dev
- npx wrangler pages publish webpagefiles --project-name=kmlabz-homepage --branch master
- npm install -g wrangler
- wrangler pages publish webpagefiles --project-name=kmlabz-homepage --branch=master