# Deploy <slug>

on:
  workflow_dispatch:

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Build and deploy on boka
        env:
          DEPLOY_ROOT: ${{ secrets.DEPLOY_ROOT }}
          DEPLOY_GIT_TOKEN: ${{ secrets.DEPLOY_GIT_TOKEN }}
        run: |
          chmod +x scripts/deploy-app.sh
          DEPLOY_ROOT="${DEPLOY_ROOT:-/home/frank/playground.schwenk.online}" \
          DEPLOY_GIT_TOKEN="$DEPLOY_GIT_TOKEN" \
            scripts/deploy-app.sh "<slug>"
