change wrangler install method
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Torma Kristóf 2022-05-21 17:12:27 +02:00
parent 05a87395ae
commit 7ee8368dfe
1 changed files with 3 additions and 3 deletions

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