From 1a51e6092936ea071bf0fa09358d36d2d4e49bc0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 27 Sep 2024 15:52:41 +0000 Subject: [PATCH] [AUTO:BUILD] Fri Sep 27 15:52:41 UTC 2024 --- .github/workflows/Cron.yml | 33 +++++++++++++++++++++++++++++++++ LICENSE | 21 +++++++++++++++++++++ README.md | 2 ++ crypto-rate.json | Bin 0 -> 1464 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..8f9315febf0dc4252fdad260919729590d6e2211 GIT binary patch literal 1464 zcmV;p1xNZHiwFP!00000|Gb$^Z`(!?hW`p76BR|Uk~Y%9 z6e;k-jveIUqR0ME7vcx6t2iMynB*uZ&?+^Cg0uJ*_5+b z&e<%Pz`8T-~=bFSAS}b1Cv2P-L5AS$lf(BgCx`L$qDivJt~e%y27NNS;_x zxe>yI1%xR}FFHgl4d%HDN^}F0^fG=f<0}}!V-pq-rYysLh*%&j>e7sM7={T;agti2 z)QAH_DaYPmpC*atbQBV}0h5eQWu9C68BgXWEbv~+67)xi#dg}P(^Oc3(F(H!A~}Qg z8Lea-OL&<94~SD9V0jo!$4YGKb*J90D?}t^CL_yF@!wj;s6Zl}1Hr>Ie5*RM4 z3G8@I^YiC#H0hzpbX?}TC^COxkf_Y_>ozcpjoJVxQ<(7=J}x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