Skip to content

toyproject-21.5-send-three-days-dashboard #17

toyproject-21.5-send-three-days-dashboard

toyproject-21.5-send-three-days-dashboard #17

name: toyproject-21.5-send-three-days-dashboard
on:
schedule:
- cron: '20 2 * * *' # 한국 시간대, 매일 11시 20분에 실행
jobs:
cron:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
# cron job을 실행합니다.
- name: run script
run: |
yarn install
SLACK_WEEKLY_CHANNEL_ID=C06BH14TZK6 \
SLACK_AUTH_TOKEN=${{ secrets.SLACK_AUTH_TOKEN }} \
GHP_ACCESS_TOKEN=${{ secrets.GHP_ACCESS_TOKEN }} \
GITHUB_ORGANIZATION=wafflestudio21-5 \
yarn send:toyproject-21.5-three-days-dashboard