Skip to content

send-weekly-dashboard #43

send-weekly-dashboard

send-weekly-dashboard #43

name: send-weekly-dashboard
on:
schedule:
- cron: '20 2 * * 1' # μ›”μš”μΌ ν•œκ΅­μ‹œκ°„ μ˜€μ „ 11μ‹œ 20λΆ„
workflow_dispatch:
jobs:
cron:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.1.26
# cron job을 μ‹€ν–‰ν•©λ‹ˆλ‹€.
- name: run script
run: |
bun install
SLACK_WEEKLY_CHANNEL_ID=C07KFRJSL3F \
SLACK_AUTH_TOKEN=${{ secrets.SLACK_AUTH_TOKEN }} \
GHP_ACCESS_TOKEN=${{ secrets.GHP_ACCESS_TOKEN }} \
GITHUB_ORGANIZATION=wafflestudio \
bun send:weekly-dashboard