Merge pull request #4726 from swarmauri/ccdx/create-billing-interface… #363
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Docs Apps | |
on: | |
push: | |
branches: [master, mono/dev] | |
paths: | |
- 'docs/**' | |
- 'pkgs/**' | |
workflow_dispatch: | |
concurrency: | |
group: docs-deploy | |
cancel-in-progress: true | |
jobs: | |
deploy-apps: | |
if: ${{ !cancelled() }} | |
runs-on: [docs] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
# Provide the runner's UID/GID to Compose (consumed by infra/docs/.env) | |
- name: Export runner UID/GID for Compose | |
working-directory: infra/docs | |
run: | | |
printf "RUN_UID=%s\nRUN_GID=%s\n" "$(id -u)" "$(id -g)" > .env | |
echo "Using UID:GID $(id -u):$(id -g)" | |
- name: Restart docs services | |
working-directory: infra/docs | |
run: | | |
sudo docker system prune -f | |
sudo docker compose -f docker-compose.yaml \ | |
up -d --build --force-recreate --no-deps \ | |
swarmauri-sdk-docs peagen-docs tigrbl-docs |