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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user