Post daily data in slack #486
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: Post daily data in slack | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 6 * * *" | |
jobs: | |
run: | |
name: "Send daily data in slack" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22.6 | |
- run: node .github/workflows/cron.mjs | |
env: | |
SLACK_WEBHOOK: ${{secrets.SLACK_WEBHOOK_TDB_TEAM_URL}} |