Fetch Brrr Circulating Supply #85872
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Fetch Brrr Circulating Supply | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '*/10 * * * *' | |
jobs: | |
updateStats: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Prepare | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- run: npm i | |
- name: Update Circulating Supply | |
run: node marketcap > brrr-cs.json | |
env: | |
EXPORT_MODE: CS | |
- uses: EndBug/add-and-commit@v9 | |
with: | |
author_name: "Brrr Circulating Supply Updater" | |
add: 'brrr-cs.json --force' | |
message: "Circulating Supply fetching" |