generalbots/botplugin/.forgejo/workflows/botplugin.yaml
Rodrigo Rodriguez (Pragmatismo) 037db5c381 feat: Major workspace reorganization and documentation update
- Add comprehensive documentation in botbook/ with 12 chapters
- Add botapp/ Tauri desktop application
- Add botdevice/ IoT device support
- Add botlib/ shared library crate
- Add botmodels/ Python ML models service
- Add botplugin/ browser extension
- Add botserver/ reorganized server code
- Add bottemplates/ bot templates
- Add bottest/ integration tests
- Add botui/ web UI server
- Add CI/CD workflows in .forgejo/workflows/
- Add AGENTS.md and PROD.md documentation
- Add dependency management scripts (DEPENDENCIES.sh/ps1)
- Remove legacy src/ structure and migrations
- Clean up temporary and backup files
2026-04-19 08:14:25 -03:00

53 lines
1.4 KiB
YAML

name: GBCI
on:
workflow_dispatch:
# Disabled auto-trigger - enable when needed
# push:
# branches: ["main"]
# pull_request:
# branches: ["main"]
jobs:
build:
runs-on: gbo
steps:
- name: Disable SSL verification (temporary)
run: git config --global http.sslVerify false
- uses: actions/checkout@v4
- name: Install zip utility
run: |
which zip || sudo apt-get update && sudo apt-get install -y zip
- name: Generate extension ZIP
run: |
VERSION=$(jq -r '.version' manifest.json)
ZIP_NAME="general-bots-extension-v${VERSION}.zip"
zip -r "$ZIP_NAME" \
manifest.json \
background.js \
content.js \
popup.html \
popup.js \
popup.css \
options.html \
styles.css \
icons/
echo "Created: $ZIP_NAME"
ls -la "$ZIP_NAME"
- name: Deploy extension ZIP
run: |
VERSION=$(jq -r '.version' manifest.json)
ZIP_NAME="general-bots-extension-v${VERSION}.zip"
sudo mkdir -p /opt/gbo/releases/botplugin
sudo cp "$ZIP_NAME" /opt/gbo/releases/botplugin/
sudo cp "$ZIP_NAME" /opt/gbo/releases/botplugin/general-bots-extension-latest.zip
echo "Deployed extension to /opt/gbo/releases/botplugin/"