Skip to content

send-weekly-dashboard #32

send-weekly-dashboard

send-weekly-dashboard #32

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.13
# cron job을 μ‹€ν–‰ν•©λ‹ˆλ‹€.
- name: run script
run: |
bun install
SLACK_WEEKLY_CHANNEL_ID=C06M9K1LT36 \
SLACK_AUTH_TOKEN=${{ secrets.SLACK_AUTH_TOKEN }} \
GHP_ACCESS_TOKEN=${{ secrets.GHP_ACCESS_TOKEN }} \
GITHUB_ORGANIZATION=wafflestudio \
bun send:weekly-dashboard