Send Metrics To Slack Users #2
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
name: Send Metrics To Slack Users | |
on: | |
schedule: | |
- cron: "0 10 14 * *" # Run at 10.00 UTC on the 14th of each month | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
SLACK_METRICS_TOKEN: ${{ secrets.SLACK_METRICS_TOKEN }} | |
AIRTABLE_API_KEY: ${{ secrets.AIRTABLE_API_KEY }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run | |
run: | | |
npm ci | |
./bin/send-metrics.ts |