Skip to content

marginfi-usdc

marginfi-usdc #20900

Workflow file for this run

name: marginfi-usdc
on:
push:
paths:
- "marginfi-usdc.js"
schedule:
- cron: "* * * * *"
jobs:
marginfi-usdc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ hashFiles('**/package-lock.json') }}
- run: npm ci
- run: node marginfi-usdc.js
- run: |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions"
git add marginfi-usdc.json -f
git commit -m "Update marginfi-usdc.json"
git fetch --all
git checkout gh-pages
git checkout main marginfi-usdc.json
git add marginfi-usdc.json -f
git commit --amend -m "Update data"
git push --force