Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ruddra/diy-newsletters
- Owner: ruddra
- License: mit
- Created: 2021-02-24T13:17:20.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-25T08:54:58.000Z (almost 4 years ago)
- Last Synced: 2025-01-08T12:58:14.399Z (about 1 month ago)
- Topics: actions, express, mailgun, netlify-functions, nodejs, serverless
- Language: JavaScript
- Homepage: https://ruddra.com/serverless-and-actions/
- Size: 291 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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:.