mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
👷 Use Local compose (#319)
This commit is contained in:
@@ -11,6 +11,10 @@ on:
|
|||||||
REDDIT_CLIENT_ID:
|
REDDIT_CLIENT_ID:
|
||||||
required: false
|
required: false
|
||||||
inputs:
|
inputs:
|
||||||
|
CI_TEST:
|
||||||
|
required: false
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
COMMIT_CHANGELOG:
|
COMMIT_CHANGELOG:
|
||||||
type: boolean
|
type: boolean
|
||||||
required: false
|
required: false
|
||||||
@@ -73,10 +77,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Build Revanced APKs
|
- name: Build Revanced APKs
|
||||||
run: |
|
run: |
|
||||||
if [ -n "CI_TEST" ]; then
|
if [[ "${{ inputs.CI_TEST }}" =~ ^(true|True|1)$ ]]; then
|
||||||
echo "In CI Testing. Using local compose file."
|
echo "In CI Testing. Using local compose file."
|
||||||
docker-compose -f docker-compose-local.yml up --build
|
docker-compose -f docker-compose-local.yml up --build
|
||||||
else
|
else
|
||||||
|
echo "Using Prod compose file."
|
||||||
docker-compose up --build
|
docker-compose up --build
|
||||||
fi
|
fi
|
||||||
- name: Upload Build APKS
|
- name: Upload Build APKS
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
build-apk-pr-check:
|
build-apk-pr-check:
|
||||||
uses: ./.github/workflows/build-artifact.yml
|
uses: ./.github/workflows/build-artifact.yml
|
||||||
|
with:
|
||||||
|
CI_TEST: true
|
||||||
secrets:
|
secrets:
|
||||||
ENVS: |
|
ENVS: |
|
||||||
CI_TEST=True
|
CI_TEST=True
|
||||||
|
|||||||
Reference in New Issue
Block a user