mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
34 lines
748 B
YAML
34 lines
748 B
YAML
name: CD Averages
|
|
|
|
on:
|
|
push:
|
|
branches: dev
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 12 * * 0'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: oven-sh/setup-bun@v1
|
|
|
|
- name: Install dependencies
|
|
run: bun install
|
|
|
|
- name: Build averages
|
|
run: |
|
|
GH_TOKEN=${{ secrets.GH_TOKEN }}
|
|
DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }}
|
|
DATABASE_URL=${{ secrets.DATABASE_URL }}
|
|
VIDEOS_SHEET=${{ secrets.VIDEOS_SHEET }}
|
|
GOOGLE_APPLICATION_CREDENTIALS=${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
|
|
|
|
bun scripts/averages.ts
|