HoYoLAB Daily Check-in #9
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: HoYoLAB Daily Check-in | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
workflow_dispatch: | |
jobs: | |
check-in: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
- name: Install dependencies | |
run: npm ci | |
- name: Run check-in script | |
run: npm run script | |
env: | |
HOYO_TOKENS: ${{ secrets.HOYO_TOKENS }} | |
WEBHOOK: ${{ secrets.WEBHOOK }} |