From 7ee8368dfebf75d6c81edb6f2de113aaae1c53d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Sat, 21 May 2022 17:12:27 +0200 Subject: [PATCH] change wrangler install method --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index d782872..796e3f5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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