Send General Reminder #66
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 General Reminder | |
on: | |
schedule: | |
- cron: '0 11 * * 4' # 5 PM, on Thursdays | |
jobs: | |
send_reminder: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: NPM Install | |
run: npm ci | |
- name: Send General Reminder | |
run: node src/w-reminder.js | |
env: | |
YOUTUBE_API_KEY: ${{ secrets.YOUTUBE_API_KEY }} | |
YOUTUBE_PLAYLIST_ID: ${{ secrets.YOUTUBE_PLAYLIST_ID }} | |
TENOR_API_KEY: ${{ secrets.TENOR_API_KEY }} | |
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} | |
TELEGRAM_USER_ID: ${{ secrets.TELEGRAM_USER_ID }} | |
UNSPLASH_ACCESS_KEY: ${{ secrets.UNSPLASH_ACCESS_KEY }} | |
PEXELS_API_KEY: ${{ secrets.PEXELS_API_KEY }} | |
FIREBASE_RTDB_NAME: ${{ secrets.FIREBASE_RTDB_NAME }} | |
FIREBASE_RTDB_AUTH: ${{ secrets.FIREBASE_RTDB_AUTH }} | |
FIREBASE_STORAGE_BUCKET: ${{ secrets.FIREBASE_STORAGE_BUCKET }} |