Обновить .github/workflows/all_test4.yaml
This commit is contained in:
3
.github/workflows/all_test4.yaml
vendored
3
.github/workflows/all_test4.yaml
vendored
@@ -77,9 +77,8 @@ jobs:
|
||||
- name: Extract PORT from docker-compose
|
||||
id: get-port
|
||||
run: |
|
||||
PORT=$(yq '.services.followers.command' docker-compose.yml | grep -oP -- '--port \K[0-9]+')
|
||||
PORT=$(yq '.services.followers.command' docker-compose-dev.yaml | grep -oP -- '--port \K[0-9]+')
|
||||
echo "Extracted PORT=$PORT"
|
||||
# Если переменная пустая, подставим дефолт
|
||||
if [ -z "$PORT" ]; then
|
||||
PORT=8105
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user