Adicionar publicação automática de projetos

- Botão publicar (rocket) nas pastas raiz do explorador
- Cria repositório no Gitea, faz git init + push
- Atualiza Caddyfile com subdomínio e file_server
- Adiciona volume ao docker-compose e reinicia Caddy
- Botões lado a lado (download, publicar, excluir) no file explorer
- Dockerfile: adiciona git e docker-cli
This commit is contained in:
Frederico Castro
2026-02-28 03:17:56 -03:00
parent e9f65c2845
commit 4c197eef91
6 changed files with 200 additions and 4 deletions

View File

@@ -145,6 +145,7 @@ const API = {
files: {
list(path) { return API.request('GET', `/files${path ? '?path=' + encodeURIComponent(path) : ''}`); },
delete(path) { return API.request('DELETE', `/files?path=${encodeURIComponent(path)}`); },
publish(path) { return API.request('POST', '/files/publish', { path }); },
},
reports: {