send-weekly-dashboard #11
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: send-weekly-dashboard | |
on: | |
schedule: | |
- cron: '20 2 * * 1' # μμμΌ νκ΅μκ° μ€μ 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=C06M9K1LT36 \ | |
SLACK_AUTH_TOKEN=${{ secrets.SLACK_AUTH_TOKEN }} \ | |
GHP_ACCESS_TOKEN=${{ secrets.GHP_ACCESS_TOKEN }} \ | |
GITHUB_ORGANIZATION=wafflestudio \ | |
yarn send:weekly-dashboard |