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