From 2295da1b704637adeeb77eb2b42a188aa6f91edb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 16 Nov 2024 03:48:27 +0000 Subject: [PATCH] [AUTO:BUILD] Sat Nov 16 03:48:27 UTC 2024 --- .github/workflows/Cron.yml | 33 +++++++++++++++++++++++++++++++++ LICENSE | 21 +++++++++++++++++++++ README.md | 2 ++ crypto-rate.json | Bin 0 -> 1462 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..ba0f9ccd1918607a5c1b0d87850420fca9be706d GIT binary patch literal 1462 zcmV;n1xflJiwFP!00000|HPS1Z`(!?hW`p77w!E=0}KIJq!_e%<~b$OU!U9olBlt zgK8~=2@42QmfgW2Vrj9!R!{~vFv)JtFJy8BBY0xM0>YG~-{~QiCJP*eWw^yKOs^8B znKjIeI6#zg>~;4^k^}*Y3VZ>R49{dySo=9oXC^H0T*?x6hKR*+L*|7FOFUd+mRO|c zus*}3OcDtXGvEPn$^$G9;>k#fjcvQOqplN4neotyvLxZT2?@wjlDq8z$(C(Tp}2g; z-aN%5cfkyDX$|DLS?YqamNLC#1miQesldGY7L)8PWhx3`9alUxN|@fURz%%CF6e;y z9x|6_n57SiBG+pGvihPh@;cDg@}=EHIG)2i8{zy)(&Z%QGTk^#H$Ojx4@POz?tUtP z;j)^*uIIG=`}`e@cTr@*kOd)%%pVwJP!+{>8<-|WZ2*)h%;>WS7n6%!rZ*x{>4`II z#N`?A%#EW1>RMkqz`ej>s7=5A{q--TGgZj~svCF?#i>zaI?x)zP_r7pg{|iDIcW&I zn%CeoL)~d&vQjo{+P*qHy!nz{{!Cgzb;e~Wtw^S33l-}NwReR5#`Bs13j?)V9vzb8 z*~^k_HQlV0spEjUR^SKs@nUWJE(=vR9@CaNUhs6zYiXIF{wc?SDNspe`+u;T3CUq6 zU@n^UNCIb7xwP63b2-~s4#dZVXQJnE6vw1v+G^6ogeT&uES6TBXQ`3*fh;BIO(J47 zzB0@b`mTX#-RLkVeN*aW4KQM}_??*_i(%$;xx16R|@rI^8%T zX6vig5C10KpQQ^c-uyDJ9(Xv#x!1!uZmSvE%)#$Oe!xigq$pGP2(BAtX8UE3r$h(4 zeKK77p{pKYl6r>4s$eTNEJbd*dk1OFc_+9xx=j|UT_FDJYvR2ZVg_SFmK!!l5T-0g zcj()zX3$decyki