-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from mdrlzy/main
- Loading branch information
Showing
2 changed files
with
8 additions
and
181 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,13 +17,17 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Fetch JSON | ||
run: curl -X GET "https://openexchangerates.org/api/latest.json?app_id=${{ secrets.APP_ID }}" --output rates.json | ||
- name: Fetch fiat | ||
run: curl -X GET "https://openexchangerates.org/api/latest.json?app_id=${{ secrets.APP_ID }}" --output fiat-rates.json | ||
|
||
- name: Fetch crypto | ||
run: curl -X GET "https://api.binance.com/api/v3/ticker/price" --output crypto-rates.json | ||
|
||
- name: Push into Git | ||
run: |- | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "ARK Builders Bot" | ||
git add rates.json | ||
git commit -m "Automated update of rates JSON" | ||
git add fiat-rates.json | ||
git add crypto-rates.json | ||
git commit -m "Automated update of rates" | ||
git push |
This file was deleted.
Oops, something went wrong.