change wrangler install method
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
05a87395ae
commit
7ee8368dfe
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user