cloudflare / pages-action

🛑 DEPRECATED, please use wrangler-action
MIT License
475 stars 100 forks source link

replace deprecated 'publish' with 'deploy' #101

Closed CyberFlameGO closed 1 month ago

barrenechea commented 1 year ago

@WalshyDev @GregBrimble could you consider reviewing/merging this PR? I appreciate any help you can provide.

jasikpark commented 1 year ago
Run cloudflare/pages-action@v1.5.0
npm WARN exec The following package was not found and will be installed: wrangler@2.20.1
npm WARN deprecated rollup-plugin-inject@3.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
Delegating to locally-installed wrangler@3.15.0 over global wrangler@2.20.1...
Run `npx wrangler pages publish dist --project-name=www-defined --branch=update-deploy-script` to use the local version directly.

â–² [WARNING] `wrangler pages publish` is deprecated and will be removed in the next major version.

  Please use `wrangler pages deploy` instead, which accepts exactly the same arguments.

✨ Compiled Worker successfully
Uploading... (641/644)
Uploading... (642/644)
Uploading... (643/644)
Uploading... (644/644)
✨ Success! Uploaded 3 files (641 already uploaded) (1.66 sec)

✨ Uploading _headers
✨ Uploading _redirects
✨ Uploading Functions bundle

I'd love to eliminate this deprecation warning in my deploy logs

albbus-stack commented 7 months ago

Same as #118 this also fails to comply to a deprecation warning, this time an internal one from wrangler itself. This needs to be merged 😟

nprogers commented 1 month ago

Thank you for your help in maintaining this repository 🧡. We've migrated to wrangler-action and are making improvements to ensure that contributions like this will be more easily integrated and better supported. Please come join us at wrangler-action!