replica-omnisciente/.github/workflows/build.yml
fabiorafaelcoutada 117c09f4cd
Some checks are pending
Aurélio Sync & Conscience Upgrade / Upgrade Réplica Conscience (push) Waiting to run
chore: convert aurelio-theia and aurelio-vscode to git submodules
- Both repos migrated and pushed to code.portugalfuturista.org (Forgejo):
  - aurelio-theia @ b4d6532: full port of replica research/chat/knowledge/brain
    features into @aurelio/* packages + ACP/backend WIP committed
  - aurelio-vscode @ 28d4a7f: React escola scaffold + services layer merged
    into main alongside Svelte webviews
- .gitignore: drop extensions/aurelio-vscode ignore rules (now a submodule)
- CI: build workflow triggers on submodule pointer + checks out submodules
- AGENTS.md: document submodule layout
2026-07-11 23:43:18 +01:00

56 lines
1.8 KiB
YAML

name: Build and Deploy Extension
on:
push:
branches: [ main ]
paths:
- 'extensions/aurelio-vscode'
- '.gitmodules'
workflow_dispatch:
jobs:
build:
runs-on: [self-hosted, linux, x64]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: 'extensions/aurelio-vscode/package-lock.json'
- name: Install dependencies
working-directory: extensions/aurelio-vscode
run: npm install
- name: Build and Package Extension
working-directory: extensions/aurelio-vscode
run: |
# Ensure vsce is available
npm install -g @vscode/vsce
vsce package
- name: Deploy to Firmware Store
working-directory: extensions/aurelio-vscode
run: |
VERSION=$(node -p "require('./package.json').version")
NOTES=$(node -p "require('./package.json').description || ''")
VSIX_FILE="aurelio-${VERSION}.vsix"
# Update local manifest copy
python3 update_manifest.py "${VERSION}" "${NOTES}"
echo "🚀 Deploying ${VSIX_FILE} to Proxmox CT 205 (192.168.0.15)..."
# SCP the extension and manifest to the firmware store
# The runner is already authorized on root@192.168.0.15
scp -o StrictHostKeyChecking=no "${VSIX_FILE}" root@192.168.0.15:/var/www/firmware/extensions/aurelio/
scp -o StrictHostKeyChecking=no version.json root@192.168.0.15:/var/www/firmware/extensions/aurelio/
echo "✅ Deployment complete!"