Skip to content

Commit

Permalink
Update flat.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
0xperp authored Apr 19, 2024
1 parent aed6c02 commit e13e471
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/flat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
# get current date for URL
- name: Get current date
id: current_date
run: echo "current_date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
run: echo "current_date=$(date +'%Y-%m-%d')" > $DATE
- name: Print Message
run: echo "https://kalshi-public-docs.s3.amazonaws.com/reporting/market_data_$GITHUB_OUTPUT.json"
run: echo "https://kalshi-public-docs.s3.amazonaws.com/reporting/market_data_$DATE.json"
# The third step is a Flat Action step. We fetch the data in the http_url and save it as downloaded_filename
- name: Fetch data
uses: githubocto/flat@v3
with:
http_url: https://kalshi-public-docs.s3.amazonaws.com/reporting/market_data_$GITHUB_OUTPUT.json
http_url: https://kalshi-public-docs.s3.amazonaws.com/reporting/market_data_$DATE.json
downloaded_filename: kalshi_volume_$GITHUB_OUTPUT.json

0 comments on commit e13e471

Please sign in to comment.