Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ruddra/diy-newsletters

Serverless Newsletter Service using Netlify and GitHub Actions
https://github.com/ruddra/diy-newsletters

actions express mailgun netlify-functions nodejs serverless

Last synced: 27 days ago
JSON representation

Serverless Newsletter Service using Netlify and GitHub Actions

Awesome Lists containing this project

README

        

# Serverless Newsletter Service using Netlify and GitHub Actions

[![Deploy to
Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/ruddra/DIY-newsletters)

## Configure Environment Variables in Netlify

If you directly deploy this app from above link, it will throw error. So you need to provide environment variables in Netlify App and re-build it. Go to **Site settings > Build & deploy > Environment** and add the following Environment variables:

![](netlify_env.jpg)

## Configure Environment Variables in GitHub Secrets

To make the script for CronJob to work, you need to add three variables in the Secrets settings in your repository. Go to **Settings > Secrets** and add the following variables:

![](actions_secret.jpg)

## More Information

Feel free to read [this article](https://ruddra.com/serverless-and-actions/) where I explained the steps to create this application :sparkle:.

## License

MIT :smile:.