Skip to content

TEC Request Notification #9

TEC Request Notification

TEC Request Notification #9

name: TEC Request Notification
on:
schedule:
# Runs script at 11PM UTC (6PM or 7PM ET) every Monday.
- cron: '0 23 * * MON'
jobs:
tec-request-notification:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.BOT_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
- name: Use Yarn Cache
uses: actions/cache@v1
with:
path: ~/.cache/yarn
key: yarn-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }}
restore-keys: yarn-
- name: Install
run: yarn
- name: Profile update notifications
env:
FIREBASE_PRIVATE_KEY: ${{ secrets.FIREBASE_PRIVATE_KEY }}
FIREBASE_PRIVATE_KEY_ID: ${{ secrets.FIREBASE_PRIVATE_KEY_ID }}
OAUTH_CLIENTID: ${{ secrets.OAUTH_CLIENTID}}
OAUTH_CLIENT_SECRET: ${{ secrets.OAUTH_CLIENT_SECRET }}
OAUTH_REFRESH_TOKEN: ${{ secrets.OAUTH_REFRESH_TOKEN }}
run: yarn workspace backend send-tec-notifications