-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add test case study Signed-off-by: Mirko Mollik <mirkomollik@gmail.com> * adding newsletter functionality Signed-off-by: Mirko Mollik <mirkomollik@gmail.com> * improve case study schema Signed-off-by: Mirko Mollik <mirkomollik@gmail.com> * tmp Signed-off-by: Mirko Mollik <mirkomollik@gmail.com> * tmp Signed-off-by: Mirko Mollik <mirkomollik@gmail.com> * chore: fix validation script Signed-off-by: Mirko Mollik <mirkomollik@gmail.com> * optimize ui and ux Signed-off-by: Mirko Mollik <mirkomollik@gmail.com> * add gitkeep file Signed-off-by: Mirko Mollik <mirkomollik@gmail.com> * fix: deal with the case when there is no folder Signed-off-by: Mirko Mollik <mirkomollik@gmail.com> * chore: linting Signed-off-by: Mirko Mollik <mirkomollik@gmail.com> --------- Signed-off-by: Mirko Mollik <mirkomollik@gmail.com>
- Loading branch information
Showing
96 changed files
with
15,383 additions
and
9,808 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Monthly Newsletter | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 1 * *' # Runs at midnight on the first day of every month | ||
workflow_dispatch: | ||
inputs: | ||
email: | ||
description: 'Email address to send the newsletter to' | ||
|
||
jobs: | ||
generate-newsletter: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20' | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Generate newsletter | ||
run: node scripts/newsletter.mjs | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
EMAIL_ADDRESS: ${{ secrets.EMAIL_ADDRESS }} | ||
EMAIL_PASSWORD: ${{ secrets.EMAIL_PASSWORD }} | ||
EMAIL_RECIPIENT: ${{ github.event.inputs.email }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
EMAIL_ADDRESS= | ||
EMAIL_PASSWORD= | ||
LOCATION='http://localhost:4200/#' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# See http://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
.env | ||
|
||
# Compiled output | ||
/dist | ||
/tmp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.