From b0ab674248df2e1a00b95cadc99b8b9e1d74e4ab Mon Sep 17 00:00:00 2001 From: Nuyul79 Date: Sat, 12 Jul 2025 10:43:30 +0700 Subject: [PATCH 1/6] Update Ngefilm.kt --- Ngefilm/src/main/kotlin/com/ngefilm/Ngefilm.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ngefilm/src/main/kotlin/com/ngefilm/Ngefilm.kt b/Ngefilm/src/main/kotlin/com/ngefilm/Ngefilm.kt index 9a0ee04..b18cae7 100644 --- a/Ngefilm/src/main/kotlin/com/ngefilm/Ngefilm.kt +++ b/Ngefilm/src/main/kotlin/com/ngefilm/Ngefilm.kt @@ -6,7 +6,7 @@ import com.lagradost.cloudstream3.mainPageOf class Ngefilm : MainAPI() { - override var mainUrl = "https://new1.ngefilm.online" + override var mainUrl = "https://new14.ngefilm.site" override var name = "Ngefilm" override val hasMainPage = true From aa7b604f15d3d8dc57fab13cadd2db8a8f44bfb2 Mon Sep 17 00:00:00 2001 From: Nuyul79 Date: Sat, 12 Jul 2025 11:49:53 +0700 Subject: [PATCH 2/6] Create blank.yml --- .github/workflows/blank.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/blank.yml diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml new file mode 100644 index 0000000..01502b1 --- /dev/null +++ b/.github/workflows/blank.yml @@ -0,0 +1,36 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "main" branch + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v4 + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world! + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. From 8b46db8f0dde8ac86cf46cfdfd05fdd9109a7520 Mon Sep 17 00:00:00 2001 From: Nuyul79 Date: Mon, 14 Jul 2025 12:26:19 +0700 Subject: [PATCH 3/6] Create main.yml --- .github/workflows/main.yml | 77 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..e7a26ea --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,77 @@ +name: Build + +# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#concurrency +concurrency: + group: "build" + cancel-in-progress: true + +on: + push: + branches: + # choose your default branch + - main + paths-ignore: + - "*.md" + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4.2.2 + with: + path: "src" + + - name: Checkout builds + uses: actions/checkout@v4.2.2 + with: + ref: "builds" + path: "builds" + + - name: Clean old builds + run: rm $GITHUB_WORKSPACE/builds/*.cs3 || true + + - name: Setup JDK 22 + uses: actions/setup-java@v4.6.0 + with: + distribution: "adopt" + java-version: 22 + + - name: Setup Android SDK + uses: android-actions/setup-android@v3.2.2 + + - name: Access Secrets + run: | + cd $GITHUB_WORKSPACE/src + echo TMDB_API=${{ secrets.TMDB_API }} >> local.properties + echo DUMP_API=${{ secrets.DUMP_API }} >> local.properties + echo DUMP_KEY=${{ secrets.DUMP_KEY }} >> local.properties + echo ANIMASU_API=${{ secrets.ANIMASU_API }} >> local.properties + echo DUBBINDO_API=${{ secrets.DUBBINDO_API }} >> local.properties + echo GOMOV_API=${{ secrets.GOMOV_API }} >> local.properties + echo IDLIX_API=${{ secrets.IDLIX_API }} >> local.properties + echo KURAMANIME_API=${{ secrets.KURAMANIME_API }} >> local.properties + echo LAYARKACA_API=${{ secrets.LAYARKACA_API }} >> local.properties + echo NIMEGAMI_API=${{ secrets.NIMEGAMI_API }} >> local.properties + echo OPLOVERZ_API=${{ secrets.OPLOVERZ_API }} >> local.properties + echo OTAKUDESU_API=${{ secrets.OTAKUDESU_API }} >> local.properties + echo PENCURIMOVIE_API=${{ secrets.PENCURIMOVIE_API }} >> local.properties + echo SAMEHADAKU_API=${{ secrets.SAMEHADAKU_API }} >> local.properties + echo USEETV_API=${{ secrets.USEETV_API }} >> local.properties + + - name: Build Plugins + run: | + cd $GITHUB_WORKSPACE/src + chmod +x gradlew + ./gradlew make makePluginsJson + cp **/build/*.cs3 $GITHUB_WORKSPACE/builds + cp build/plugins.json $GITHUB_WORKSPACE/builds + + - name: Push builds + run: | + cd $GITHUB_WORKSPACE/builds + git config --local user.email "actions@github.com" + git config --local user.name "GitHub Actions" + git add . + git commit --amend -m "Build $GITHUB_SHA" || exit 0 # do not error if nothing to commit + git push --force From 667c119da22aea95871a448a167437c78760f5bd Mon Sep 17 00:00:00 2001 From: Nuyul79 Date: Mon, 14 Jul 2025 12:32:56 +0700 Subject: [PATCH 4/6] Update main.yml --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e7a26ea..843027d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,6 +9,7 @@ on: push: branches: # choose your default branch + - master - main paths-ignore: - "*.md" From f611f843dca544331414c74a11704733dfb86c69 Mon Sep 17 00:00:00 2001 From: Nuyul79 Date: Mon, 14 Jul 2025 12:33:57 +0700 Subject: [PATCH 5/6] Update main.yml From feb4524a526c8488358cc48ab40ba3e5b70ced71 Mon Sep 17 00:00:00 2001 From: Nuyul79 Date: Mon, 14 Jul 2025 13:19:32 +0700 Subject: [PATCH 6/6] Update build.yml --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e7a26ea..843027d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,6 +9,7 @@ on: push: branches: # choose your default branch + - master - main paths-ignore: - "*.md"