Skip to content

Update Boost library usage dashboard artifacts (2026-04-06 02:13:14 UTC) #10

Update Boost library usage dashboard artifacts (2026-04-06 02:13:14 UTC)

Update Boost library usage dashboard artifacts (2026-04-06 02:13:14 UTC) #10

Workflow file for this run

name: Deploy to GCP
on:
push:
branches: [main]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Pull and optionally restart
uses: appleboy/ssh-action@v1.2.0
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USER }}
key: ${{ secrets.SERVER_SSH_KEY }}
script: |
cd /opt/boost
git fetch origin main
CHANGED=$(git diff HEAD origin/main --name-only)
git pull origin main
if echo "$CHANGED" | grep -qE "^(Dockerfile|nginx\.conf|docker-compose\.yml)$"; then
docker compose up -d --build
fi