-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️ Unify totalResults digest and email alert scripts
- Loading branch information
1 parent
7db077b
commit ec7aed3
Showing
5 changed files
with
70 additions
and
275 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Send chats limit alert emails | ||
name: Check and report chats usage | ||
|
||
on: | ||
schedule: | ||
|
@@ -22,8 +22,9 @@ jobs: | |
SMTP_HOST: '${{ secrets.SMTP_HOST }}' | ||
SMTP_PORT: '${{ secrets.SMTP_PORT }}' | ||
NEXT_PUBLIC_SMTP_FROM: '${{ secrets.NEXT_PUBLIC_SMTP_FROM }}' | ||
STRIPE_SECRET_KEY: '${{ secrets.STRIPE_SECRET_KEY }}' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: pnpm/[email protected] | ||
- run: pnpm i --frozen-lockfile | ||
- run: pnpm turbo run sendAlertEmails | ||
- run: pnpm turbo run checkAndReportChatsUsage |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.