Files
todo-baggins/scripts/export_android_bundle.sh
Matouš Volf 1b571ba842
All checks were successful
conventional pull request title check / conventional pull request title check (pull_request) Successful in 10s
actionlint check / actionlint check (pull_request) Successful in 16s
dotenv-linter check / dotenv-linter check (pull_request) Successful in 14s
conventional commit messages check / conventional commit messages check (pull_request) Successful in 16s
hadolint check / hadolint check (pull_request) Successful in 19s
GitLeaks check / GitLeaks check (pull_request) Successful in 21s
markdownlint check / markdownlint check (pull_request) Successful in 39s
Prettier check / Prettier check (pull_request) Successful in 40s
Stylelint check / Stylelint check (pull_request) Successful in 33s
ShellCheck check / ShellCheck check (pull_request) Successful in 44s
htmlhint check / htmlhint check (pull_request) Successful in 54s
yamllint check / yamllint check (pull_request) Successful in 41s
checkov check / checkov check (pull_request) Successful in 1m54s
Rust check / Rust check (pull_request) Successful in 13m29s
docs: add a guide for running
2026-03-05 14:44:34 +01:00

13 lines
609 B
Bash
Executable File

#!/bin/sh
echo "Warning: This script needs to stop any currently running Docker compose stacks. Stopping them now..."
docker compose down
mkdir -p bundle/android bundle/temp \
&& docker compose -f docker-compose-prod.yaml -f docker-compose-android-bundle.yaml up --build --no-start --no-deps app \
&& docker compose -f docker-compose-prod.yaml -f docker-compose-android-bundle.yaml cp app:/srv/app/bundle bundle/temp \
&& mv bundle/temp/bundle/* bundle/android \
&& rm -r bundle/temp
echo "Warning: If a running Docker compose stack has been stopped by this script, you may want to bring it up again now."