toyproject-21.5-send-three-days-dashboard #17
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: 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 |