Skip to content

Commit

Permalink
added ntfy notification
Browse files Browse the repository at this point in the history
  • Loading branch information
Vucko130 committed Oct 10, 2024
1 parent ee4082c commit 921cdef
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,16 @@ jobs:
file_pattern: build.md *-update.json
commit_message: Bump version ${{ steps.next_ver_code.outputs.NEXT_VER_CODE }}

- name: Send Notification to Ntfy
if: always()
run: |
curl \
-H "Authorization: Bearer ${{ secrets.NTFY_CRED }}" \
-H "Title: ReVanced Builder Status" \
-H "Content-Type: text/plain" \
-d $'Repo: ${{ github.repository }}\nCommit: ${{ github.sha }}\nRef: ${{ github.ref }}\nStatus: ${{ job.status }}\n\n**[Download Latest Release](https://github.com/${{ github.repository }}/releases/latest)**' \
${{ secrets.NTFY_URL }}
- name: Report to Telegram
env:
TG_TOKEN: ${{ secrets.TG_TOKEN }}
Expand Down Expand Up @@ -149,7 +159,7 @@ jobs:
- name: Delete Older Releases
uses: dev-drprasad/delete-older-releases@v0.3.4
with:
repo: Vucko130/revanced-magisk-module # defaults to current repo
repo: ${{ github.repository }}
keep_latest: 24
delete_tags : true
env:
Expand Down
6 changes: 3 additions & 3 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ enable-magisk-update = true # set this to false if you do not want to receive
# you can use rvmm-config-gen to generate a config

[YouTube]
build-mode = "both"
build-mode = "apk"
excluded-patches = ""
included-patches = "'Change header'"
version = "auto"
apkmirror-dlurl = "https://www.apkmirror.com/apk/google-inc/youtube"
archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.google.android.youtube"

[YouTube-Extended]
enabled = true
enabled = false
app-name = "YouTube"
patches-source = "inotia00/revanced-patches"
integrations-source = "inotia00/revanced-integrations"
Expand All @@ -30,7 +30,7 @@ archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.google.android.a
arch = "both"

[Music-Extended]
enabled = true
enabled = false
app-name = "Music"
patches-source = "inotia00/revanced-patches"
integrations-source = "inotia00/revanced-integrations"
Expand Down

0 comments on commit 921cdef

Please sign in to comment.