From f5f5e370e875005320191d160655c9daadbec057 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 28 Sep 2024 11:52:38 +0000 Subject: [PATCH] [AUTO:BUILD] Sat Sep 28 11:52:38 UTC 2024 --- .github/workflows/Cron.yml | 33 +++++++++++++++++++++++++++++++++ LICENSE | 21 +++++++++++++++++++++ README.md | 2 ++ crypto-rate.json | Bin 0 -> 1458 bytes last_update.txt | 1 + rate.json | 1 + 6 files changed, 58 insertions(+) create mode 100644 .github/workflows/Cron.yml create mode 100644 LICENSE create mode 100644 README.md create mode 100644 crypto-rate.json create mode 100644 last_update.txt create mode 100644 rate.json diff --git a/.github/workflows/Cron.yml b/.github/workflows/Cron.yml new file mode 100644 index 0000000000..ec8934a167 --- /dev/null +++ b/.github/workflows/Cron.yml @@ -0,0 +1,33 @@ +# .github/workflows/scheduled-builds.yml +name: Generate Excange + +on: #[push] + schedule: + # Runs "at minute 15 minute " (see https://crontab.guru) + - cron: '*/15 * * * *' + +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Jalankan Skrip + run: | + curl -Ss "https://api.comm.miui.com/cspmisc/redirect/foreignExchangesRates" > rate.json + curl -Ss "https://www.binance.com/bapi/asset/v1/public/asset-service/product/currency" > crypto-rate.json + echo `date +%s` > last_update.txt + - name: Commit + run: | + git config --local user.name "github-actions[bot]" + git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" + git checkout --orphan latest_branch + git add -A + git commit -am "[AUTO:BUILD] `date`" + - name: GitHub Push + uses: ad-m/github-push-action@master + with: + force: true + directory: "." + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: ${{ github.ref }} diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000..1bc1057824 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 Nusantaracode + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000000..843466341c --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# ExcangeRate +exchange rate currency and crpto table diff --git a/crypto-rate.json b/crypto-rate.json new file mode 100644 index 0000000000000000000000000000000000000000..32b56cf39f1327ef95fd745e8cd21c1742761eb9 GIT binary patch literal 1458 zcmV;j1x@-NiwFP!00000|Gb&cZrer>#$SaHdJJe$)L-8uQ??R1v_eT~tfB~3(neaC zS_(@tjveIUqQ^c(QM5pd7HN7&S`-C>_MW4CEAk{A*-5Z7n^TvF4~9&W{C?P-`DSMI zv@%Z@ys}%VUjI~XRn|Pq*b*+uB1t~{8StEmH+h6AB*gPvVD@Q2m~`S| z!?_I$2ve3`e27>YZr#^V;?FQiPqA~6T*Gjd*sy>wWf}G(!~)Brvy66J3=2~##CAWKQ^bz>4OO+Aq>pSxEV znB*Rqff7zE&g?=Ll#P&yjuA}Dt?HZf`a4Xrw-StzuFyqeyoJ^kE)B`vglU0fMsWWEc z6nGZas{`srT{^(Ez;j!A6uDBV+kOa?O znxyO5cCTz52h@!OKX`yQs|lG^t7$+J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