Skip to content

send-weekly-dashboard #33

send-weekly-dashboard

send-weekly-dashboard #33

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