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:
|
||||
required: false
|
||||
inputs:
|
||||
CI_TEST:
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
COMMIT_CHANGELOG:
|
||||
type: boolean
|
||||
required: false
|
||||
@@ -73,10 +77,11 @@ jobs:
|
||||
|
||||
- name: Build Revanced APKs
|
||||
run: |
|
||||
if [ -n "CI_TEST" ]; then
|
||||
if [[ "${{ inputs.CI_TEST }}" =~ ^(true|True|1)$ ]]; then
|
||||
echo "In CI Testing. Using local compose file."
|
||||
docker-compose -f docker-compose-local.yml up --build
|
||||
else
|
||||
echo "Using Prod compose file."
|
||||
docker-compose up --build
|
||||
fi
|
||||
- name: Upload Build APKS
|
||||
|
||||
@@ -13,6 +13,8 @@ concurrency:
|
||||
jobs:
|
||||
build-apk-pr-check:
|
||||
uses: ./.github/workflows/build-artifact.yml
|
||||
with:
|
||||
CI_TEST: true
|
||||
secrets:
|
||||
ENVS: |
|
||||
CI_TEST=True
|
||||
|
||||
Reference in New Issue
Block a user