cloudflare-static-deployment

1.0.20 • Public • Published

README

Auto deployment in Cloudflare workers for static code (react, angular, vanilla, html & css, ...)

How do I get set up?

bitbucket-pipelines.yml

We can't push a .env in the repo so, we need to add the environment variables

            - export NODE_ENV=dev
            - export REACT_APP_API_DOMAIN=$STAGING_REACT_APP_API_DOMAIN
            - export REACT_APP_API_DOMAIN_V1=$STAGING_REACT_APP_API_DOMAIN_V1

Add the following lines to the bitbucket-pipelines.yml step you want to configure

            - npm i cloudflare-static-deployment
            - npx deploy -e staging 

Contribution guidelines

  • Writing tests
  • Code review
  • Other guidelines

Who do I talk to?

  • Repo owner or admin
  • Other community or team contact

Readme

Keywords

none

Package Sidebar

Install

npm i cloudflare-static-deployment

Weekly Downloads

49

Version

1.0.20

License

none

Unpacked Size

7.57 kB

Total Files

4

Last publish

Collaborators

  • klassapp