From 38808244a55134818396496e68b57a9793b59d7c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Nov 2024 21:19:40 +0000 Subject: [PATCH] [AUTO:BUILD] Thu Nov 14 21:19:40 UTC 2024 --- .github/workflows/Cron.yml | 33 +++++++++++++++++++++++++++++++++ LICENSE | 21 +++++++++++++++++++++ README.md | 2 ++ crypto-rate.json | Bin 0 -> 1460 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..4f3d47d14b07569717a73921bb7042eac57d56f4 GIT binary patch literal 1460 zcmV;l1xxxLiwFP!00000|Gb&cZrer>#$SaHdJNVSMT(MdvME~$9a^EJG*M9mD`_Jw zOpyZr#I=K5T=dwdD2f(n(IQO`NsFRD(B5-&Zb6=;BRdIpW`iEOM13%1n&kJx?Cdu) ztH+Ibwh)cohJE$ZxY1aPqToxolvYXd;m<&nTqf@?E_lfsyPrL7Y`Dzf;r=9kFc}5# zbk0k7)Mj1Jc5gI_v-K>4ry6fBeuRHMgoh)(-pci>JcBE84ey@h+gny;xhZycb~e>4 zk#janXGO_N_%zSfJ6HGZ%&R;X>0F9p2Nc;RT{fQF_yBP;!Vn#oxgEst0yEr97m}w| zTy2CfVF6*vvKJpA7LWN|1ttCjlkDaETqajAf+r>{AWT_?{RpwNSjSdaMmr3{M3s1y zS)FLVU|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