I have created the initial workflow that will test and publish the worker to production on push to production branch. Before merging please do setup secrets in repository settings. I have also used Github environments for managing secrets for production and staging. I have modified the env sample file so that it becomes a template for use in CI also.
Steps before merging:
Create an environment with name production.
Add secrets from production.env.sample file
Add Cloudflare API token as a repository secret.
Please review and let me know if something needs to be updated. Thanks
I have created the initial workflow that will test and publish the worker to production on push to production branch. Before merging please do setup secrets in repository settings. I have also used Github environments for managing secrets for production and staging. I have modified the env sample file so that it becomes a template for use in CI also.
Steps before merging:
production
.production.env.sample
filePlease review and let me know if something needs to be updated. Thanks