Skip to content

Commit

Permalink
Create funding-splits-content-nightly.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nya-elimu committed Sep 29, 2024
1 parent 9300328 commit 54227c3
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/funding-splits-content-nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: funding-splits-content - Nightly

on:
schedule:
- cron: 59 23 * * *

jobs:
build:

runs-on: ubuntu-latest

defaults:
run:
working-directory: funding-splits-content

steps:
- uses: actions/checkout@v4

- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
cache-dependency-path: funding-splits-content/package-lock.json

- run: npm ci
- run: npx tsc

- run: node download.js
- run: node dripify.js

- name: Git Config
run: |
git config user.name 'Nya Ξlimu'
git config user.email '[email protected]'
- name: Git Commit
run: |
git add *.csv
git commit -m 'chore(funding-splits-content): nightly build' --allow-empty
- name: Git Push
run: |
git push

0 comments on commit 54227c3

Please sign in to comment.