MattIPv4 / DNS-over-Discord

1.1.1.1 works from a Discord server, thanks to the 1.1.1.1 bot. Invite the bot to your Discord server to start using DNS over Discord.
https://dns-over-discord.v4.wtf/invite
Apache License 2.0
281 stars 31 forks source link

Github Actions for Deployment #44

Closed mohan-13 closed 2 years ago

mohan-13 commented 2 years ago

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:

  1. Create an environment with name production.
  2. Add secrets from production.env.sample file
  3. Add Cloudflare API token as a repository secret.

Please review and let me know if something needs to be updated. Thanks