Skip to content

Commit

Permalink
Fix scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
DHD2280 committed Nov 8, 2024
1 parent d74b9eb commit 1782644
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/makeRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

steps:
- name: Source Code Download
run: git clone --branch stable --single-branch --recurse-submodules https://github.com/DHD2280/OC.git .
run: git clone --branch stable --single-branch --recurse-submodules https://github.com/DHD2280/Oxygen-Customizer.git .

- name: JDK 17 Setup
uses: actions/[email protected]
Expand Down Expand Up @@ -76,4 +76,10 @@ jobs:
run: |
curl -X POST \
-H 'Content-Type: application/json' \
-d '{"chat_id": ${{ secrets.CHAT_ID }}, "text": "'"$(echo ${{ env.TMessage }})"'", "parse_mode": "Markdown", "reply_markup": {"inline_keyboard": [[{"text":"Download", "url": "https://www.github.com/DHD2280/OC/releases/download/"${{ github.ref }}"/OxygenCustomizer.apk"}]]}' https://api.telegram.org/bot${{ secrets.TELEGRAM_TK }}/sendMessage
-d '{"chat_id": ${{ secrets.OC_CHANNEL }}, "text": "'"$(echo ${{ env.TMessage }})"'", "parse_mode": "Markdown", "reply_markup": {"inline_keyboard": [[{"text":"Download", "url": "https://www.github.com/DHD2280/Oxygen-Customizer/releases/download/"${{ github.ref }}"/OxygenCustomizer.apk"}]]}' https://api.telegram.org/bot${{ secrets.TELEGRAM_TK }}/sendMessage
- name: Telegram Channel Post
run: |
curl -X POST \
-H 'Content-Type: application/json' \
-d '{"chat_id": ${{ secrets.OC_CHANNEL2 }}, "text": "'"$(echo ${{ env.TMessage }})"'", "parse_mode": "Markdown", "reply_markup": {"inline_keyboard": [[{"text":"Download", "url": "https://www.github.com/DHD2280/Oxygen-Customizer/releases/download/"${{ github.ref }}"/OxygenCustomizer.apk"}]]}' https://api.telegram.org/bot${{ secrets.TELEGRAM_TK }}/sendMessage

0 comments on commit 1782644

Please sign in to comment.