1.0.20 • Published 3 years ago

kubernetes-bitbucket-pipeline v1.0.20

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

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
1.0.20

3 years ago