Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

run index.js

run index.js #167

Workflow file for this run

name: run index.js
on:
schedule:
- cron: "0 1 * * *"
push:
branches:
- "main"
- "releases/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v4 # checkout the repository content to github runner
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm run build
- run: npm run execute
env:
MONGO_URI: ${{ secrets.MONGO_URI }}
FIREBASE_PROJECT_ID: ${{ secrets.FIREBASE_PROJECT_ID }}
FIREBASE_CLIENT_EMAIL: ${{ secrets.FIREBASE_CLIENT_EMAIL }}
FIREBASE_PRIVATE_KEY: ${{ secrets.FIREBASE_PRIVATE_KEY }}