.github/workflows/weekly.yml #7
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: Weekly CLI | |
on: | |
schedule: | |
# Runs every Sunday at 11:00 JST (02:00 UTC) | |
- cron: '0 2 * * 0' | |
workflow_dispatch: | |
jobs: | |
run-weekly-cli: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
- name: Install dependencies | |
run: yarn --frozen-lockfile | |
- name: Run the CLI | |
env: | |
SCRAPBOX_SID: ${{ secrets.SCRAPBOX_SID }} | |
run: yarn weekly |