Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add slack notifications #18

Merged
merged 4 commits into from
Feb 22, 2024
Merged

Add slack notifications #18

merged 4 commits into from
Feb 22, 2024

Conversation

dcadenas
Copy link
Contributor

@dcadenas dcadenas commented Feb 22, 2024

Adds notifications to slack showing the latest 10 entries, this is checked once every 10 minutes by default. Nothing is set if there are no news.
We need to setup some default env variables with @cooldracula help:

  slackWebhookUrl: process.env.SLACK_WEBHOOK_URL,
  slackCron: process.env.SLACK_CRON || "*/10 * * * *",

Solves #16

@dcadenas dcadenas merged commit 604296b into main Feb 22, 2024
3 checks passed
@cooldracula
Copy link
Contributor

Added it to our ansible deploys with planetary-social/ansible-scripts#81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants