Compare commits
56 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 95ce78a117 | |||
| a0324ef1b9 | |||
| 94ae14ae06 | |||
| 9c401a9718 | |||
| b665a5207c | |||
| f9fbd6633f | |||
| 76e910c4fb | |||
| 0dc724eca4 | |||
| d2f10b0061 | |||
| dd0d4173e9 | |||
| e87b7a1080 | |||
| b1fe3c4f24 | |||
| 105ac9d08e | |||
| d09ce23585 | |||
| 7d8df3d09a | |||
| b865ed57c5 | |||
| 662a7b9d53 | |||
| 36bb727432 | |||
| 80d1ced2dd | |||
| 3bbfa3ee83 | |||
| ce939be436 | |||
| bdc7159b70 | |||
| 2cacfba796 | |||
| c7864f76ae | |||
| 58fca0a035 | |||
| aa7af23cae | |||
| 41660712b9 | |||
| 9d52471a89 | |||
| b54d97f8e5 | |||
| e930e75a2b | |||
| c8b3018ad6 | |||
| af17b33430 | |||
| 24ce592b18 | |||
| b3c183e149 | |||
| 8b6540a8ba | |||
| ac577cf851 | |||
| 3e2843ac57 | |||
| 9c760a6126 | |||
| 926e7606f3 | |||
| d1087c07b1 | |||
| 29cd8f612f | |||
| b5b2b38b55 | |||
| ee2f8dd6f3 | |||
| cfbbb96c2a | |||
| 1e33417453 | |||
| ad0fb99802 | |||
| 57fb463c5d | |||
| 09ebb795cd | |||
| d99aec2f1a | |||
| 1004707d8f | |||
| b03c76dfeb | |||
| 5497888afb | |||
| 4c6e207f28 | |||
| 0f29f8ef61 | |||
| 617c4dedb6 | |||
| 027c36b15c |
@@ -1,6 +1,5 @@
|
|||||||
node_modules
|
node_modules
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
.next
|
|
||||||
.env.local
|
.env.local
|
||||||
.env
|
.env
|
||||||
coverage
|
coverage
|
||||||
|
|||||||
@@ -0,0 +1,37 @@
|
|||||||
|
name: Despliegue Automático Cirux
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: self-hosted # Volvemos al modo estándar
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Ejecutar Despliegue Nativo vía SSH
|
||||||
|
uses: https://github.com/appleboy/ssh-action@v1.0.3
|
||||||
|
with:
|
||||||
|
host: "172.17.0.1" # Esta es la IP por defecto del Host (tu VPS) vista desde dentro de Docker
|
||||||
|
username: "ubuntu"
|
||||||
|
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
port: 22
|
||||||
|
script: |
|
||||||
|
echo "=== Iniciando Despliegue en el VPS Real ==="
|
||||||
|
mkdir -p /home/ubuntu/cirux
|
||||||
|
|
||||||
|
echo "Protegiendo archivo .env..."
|
||||||
|
mv /home/ubuntu/cirux/.env /tmp/.cirux.env 2>/dev/null || true
|
||||||
|
|
||||||
|
echo "Limpiando archivos antiguos..."
|
||||||
|
rm -rf /home/ubuntu/cirux/* /home/ubuntu/cirux/.* 2>/dev/null || true
|
||||||
|
|
||||||
|
echo "Clonando última versión desde Gitea..."
|
||||||
|
git clone --depth=1 http://172.24.0.3:3000/silvioalzate/cirux.git /home/ubuntu/cirux
|
||||||
|
|
||||||
|
echo "Restaurando archivo .env..."
|
||||||
|
mv /tmp/.cirux.env /home/ubuntu/cirux/.env 2>/dev/null || true
|
||||||
|
|
||||||
|
echo "Reconstruyendo contenedores Docker..."
|
||||||
|
cd /home/ubuntu/cirux
|
||||||
|
docker compose --env-file .env up -d --build cirux
|
||||||
|
docker image prune -f
|
||||||
|
echo "=== ¡Despliegue completado con éxito absoluto! ==="
|
||||||
@@ -13,10 +13,6 @@
|
|||||||
# testing
|
# testing
|
||||||
/coverage
|
/coverage
|
||||||
|
|
||||||
# next.js
|
|
||||||
/.next/
|
|
||||||
/out/
|
|
||||||
|
|
||||||
# production
|
# production
|
||||||
/build
|
/build
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
"pages": {
|
||||||
|
"/layout": [
|
||||||
|
"static/chunks/webpack.js",
|
||||||
|
"static/chunks/main-app.js",
|
||||||
|
"static/css/app/layout.css",
|
||||||
|
"static/chunks/app/layout.js"
|
||||||
|
],
|
||||||
|
"/error": [
|
||||||
|
"static/chunks/webpack.js",
|
||||||
|
"static/chunks/main-app.js",
|
||||||
|
"static/chunks/app/error.js"
|
||||||
|
],
|
||||||
|
"/dashboard/layout": [
|
||||||
|
"static/chunks/webpack.js",
|
||||||
|
"static/chunks/main-app.js",
|
||||||
|
"static/chunks/app/dashboard/layout.js"
|
||||||
|
],
|
||||||
|
"/dashboard/error": [
|
||||||
|
"static/chunks/webpack.js",
|
||||||
|
"static/chunks/main-app.js",
|
||||||
|
"static/chunks/app/dashboard/error.js"
|
||||||
|
],
|
||||||
|
"/dashboard/loading": [
|
||||||
|
"static/chunks/webpack.js",
|
||||||
|
"static/chunks/main-app.js",
|
||||||
|
"static/chunks/app/dashboard/loading.js"
|
||||||
|
],
|
||||||
|
"/dashboard/page": [
|
||||||
|
"static/chunks/webpack.js",
|
||||||
|
"static/chunks/main-app.js",
|
||||||
|
"static/chunks/app/dashboard/page.js"
|
||||||
|
],
|
||||||
|
"/dashboard/calendar/page": [
|
||||||
|
"static/chunks/webpack.js",
|
||||||
|
"static/chunks/main-app.js",
|
||||||
|
"static/chunks/app/dashboard/calendar/page.js"
|
||||||
|
],
|
||||||
|
"/dashboard/appointments/page": [
|
||||||
|
"static/chunks/webpack.js",
|
||||||
|
"static/chunks/main-app.js",
|
||||||
|
"static/chunks/app/dashboard/appointments/page.js"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"polyfillFiles": [
|
||||||
|
"static/chunks/polyfills.js"
|
||||||
|
],
|
||||||
|
"devFiles": [],
|
||||||
|
"ampDevFiles": [],
|
||||||
|
"lowPriorityFiles": [
|
||||||
|
"static/development/_buildManifest.js",
|
||||||
|
"static/development/_ssgManifest.js"
|
||||||
|
],
|
||||||
|
"rootMainFiles": [
|
||||||
|
"static/chunks/webpack.js",
|
||||||
|
"static/chunks/main-app.js"
|
||||||
|
],
|
||||||
|
"rootMainFilesTree": {},
|
||||||
|
"pages": {
|
||||||
|
"/_app": []
|
||||||
|
},
|
||||||
|
"ampFirstPages": []
|
||||||
|
}
|
||||||
Vendored
+1
@@ -0,0 +1 @@
|
|||||||
|
{"previewModeId":"11d78d752727af9003f5256a93f72a32","previewModeSigningKey":"fe503cf04425fa504790402efd957dddddc693bd8a2eb50f0901fdce96127ff0","previewModeEncryptionKey":"6d780b376fb0b7cb1a1d8f8df5ba69cf3c988881ee87a9d4c20a068fb1b09146","expireAt":1781456636447}
|
||||||
Vendored
+1
@@ -0,0 +1 @@
|
|||||||
|
{"encryption.key":"G2ABLm7FuiCFNXvb+eWjhi5kJ7iEnHsDtNDIDwicGaw=","encryption.expire_at":1781456636331}
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
c7dc6602-8845-4854-bc81-c4a4e8b2c25c
|
||||||
BIN
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
+1
@@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
{"type": "commonjs"}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"version": 4,
|
||||||
|
"routes": {},
|
||||||
|
"dynamicRoutes": {},
|
||||||
|
"notFoundRoutes": [],
|
||||||
|
"preview": {
|
||||||
|
"previewModeId": "7fb19bca5db56963a73f0232c70bace6",
|
||||||
|
"previewModeSigningKey": "fb04ea0a6af5e3578e4e7d092b1f1182b0ea596d7be1e76006a68b667178d43d",
|
||||||
|
"previewModeEncryptionKey": "6d06110240827ce38a05be542e05a5ec0f20d18d004e73e69838e2e93e7e7d13"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"app/dashboard/calendar/page.tsx -> @fullcalendar/react": {
|
||||||
|
"id": "app/dashboard/calendar/page.tsx -> @fullcalendar/react",
|
||||||
|
"files": [
|
||||||
|
"static/chunks/_app-pages-browser_node_modules_fullcalendar_react_dist_index_js.js"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"caseSensitive":false,"basePath":"","rewrites":{"beforeFiles":[],"afterFiles":[],"fallback":[]},"redirects":[{"source":"/:path+/","destination":"/:path+","permanent":true,"internal":true,"regex":"^(?:\\/((?:[^\\/]+?)(?:\\/(?:[^\\/]+?))*))\\/$"}],"headers":[{"source":"/(.*)","headers":[{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; connect-src 'self' https://supabase.silvioalzate.shop wss://supabase.silvioalzate.shop https://evolution.silvioalzate.shop https://n8n.silvioalzate.shop; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob:; font-src 'self'; frame-src 'self'; object-src 'none'; base-uri 'self'; form-action 'self'"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Permissions-Policy","value":"camera=(), microphone=(), geolocation=()"}],"regex":"^(?:\\/(.*))(?:\\/)?$"},{"source":"/api/:path*","headers":[{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Robots-Tag","value":"noindex, nofollow"}],"regex":"^\\/api(?:\\/((?:[^\\/]+?)(?:\\/(?:[^\\/]+?))*))?(?:\\/)?$"}]}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"/dashboard/calendar/page": "app/dashboard/calendar/page.js",
|
||||||
|
"/dashboard/appointments/page": "app/dashboard/appointments/page.js",
|
||||||
|
"/dashboard/page": "app/dashboard/page.js"
|
||||||
|
}
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
|||||||
|
self.__INTERCEPTION_ROUTE_REWRITE_MANIFEST="[]"
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
globalThis.__BUILD_MANIFEST = {
|
||||||
|
"polyfillFiles": [
|
||||||
|
"static/chunks/polyfills.js"
|
||||||
|
],
|
||||||
|
"devFiles": [],
|
||||||
|
"ampDevFiles": [],
|
||||||
|
"lowPriorityFiles": [],
|
||||||
|
"rootMainFiles": [
|
||||||
|
"static/chunks/webpack.js",
|
||||||
|
"static/chunks/main-app.js"
|
||||||
|
],
|
||||||
|
"rootMainFilesTree": {},
|
||||||
|
"pages": {
|
||||||
|
"/_app": []
|
||||||
|
},
|
||||||
|
"ampFirstPages": []
|
||||||
|
};
|
||||||
|
globalThis.__BUILD_MANIFEST.lowPriorityFiles = [
|
||||||
|
"/static/" + process.env.__NEXT_BUILD_ID + "/_buildManifest.js",
|
||||||
|
,"/static/" + process.env.__NEXT_BUILD_ID + "/_ssgManifest.js",
|
||||||
|
|
||||||
|
];
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"middleware": {
|
||||||
|
"/": {
|
||||||
|
"files": [
|
||||||
|
"server/edge-runtime-webpack.js",
|
||||||
|
"server/middleware.js"
|
||||||
|
],
|
||||||
|
"name": "middleware",
|
||||||
|
"page": "/",
|
||||||
|
"matchers": [
|
||||||
|
{
|
||||||
|
"regexp": "^/.*$",
|
||||||
|
"originalSource": "/:path*"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"wasm": [],
|
||||||
|
"assets": [],
|
||||||
|
"env": {
|
||||||
|
"__NEXT_BUILD_ID": "development",
|
||||||
|
"NEXT_SERVER_ACTIONS_ENCRYPTION_KEY": "G2ABLm7FuiCFNXvb+eWjhi5kJ7iEnHsDtNDIDwicGaw=",
|
||||||
|
"__NEXT_PREVIEW_MODE_ID": "7fb19bca5db56963a73f0232c70bace6",
|
||||||
|
"__NEXT_PREVIEW_MODE_SIGNING_KEY": "fb04ea0a6af5e3578e4e7d092b1f1182b0ea596d7be1e76006a68b667178d43d",
|
||||||
|
"__NEXT_PREVIEW_MODE_ENCRYPTION_KEY": "6d06110240827ce38a05be542e05a5ec0f20d18d004e73e69838e2e93e7e7d13"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"functions": {},
|
||||||
|
"sortedMiddleware": [
|
||||||
|
"/"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
self.__REACT_LOADABLE_MANIFEST="{\"app/dashboard/calendar/page.tsx -> @fullcalendar/react\":{\"id\":\"app/dashboard/calendar/page.tsx -> @fullcalendar/react\",\"files\":[\"static/chunks/_app-pages-browser_node_modules_fullcalendar_react_dist_index_js.js\"]}}"
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
|||||||
|
self.__NEXT_FONT_MANIFEST="{\"pages\":{},\"app\":{\"/home/silvio/Develop/CIRUX-APP/src/app/layout\":[\"static/media/e4af272ccee01ff0-s.p.woff2\",\"static/media/36966cca54120369-s.p.woff2\"]},\"appUsingSizeAdjust\":true,\"pagesUsingSizeAdjust\":false}"
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"pages":{},"app":{"/home/silvio/Develop/CIRUX-APP/src/app/layout":["static/media/e4af272ccee01ff0-s.p.woff2","static/media/36966cca54120369-s.p.woff2"]},"appUsingSizeAdjust":true,"pagesUsingSizeAdjust":false}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"process.env.NEXT_SERVER_ACTIONS_ENCRYPTION_KEY\"\n}"
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"node": {},
|
||||||
|
"edge": {},
|
||||||
|
"encryptionKey": "G2ABLm7FuiCFNXvb+eWjhi5kJ7iEnHsDtNDIDwicGaw="
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"c":[],"r":[],"m":[]}
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user