From 6eaf36534a7948a95b9a4742d120d3e99f6007d6 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 27 Feb 2026 20:49:34 +0900 Subject: feat(deploy): re-enable update-submodule workflow --- .github/workflows/update-submodule.yml | 9 +++++---- compose.local.yaml | 2 +- compose.prod.yaml | 2 +- frontend/app/api/client.ts | 2 +- frontend/app/components/UserIcon.tsx | 2 +- frontend/app/pages/DashboardPage.tsx | 2 +- 6 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/update-submodule.yml b/.github/workflows/update-submodule.yml index 2c32a00..7ce099b 100644 --- a/.github/workflows/update-submodule.yml +++ b/.github/workflows/update-submodule.yml @@ -1,7 +1,8 @@ name: Update submodule on: push: - branches: [disable-temporarily] + branches: [main] + jobs: update-submodule: runs-on: ubuntu-latest @@ -15,12 +16,12 @@ jobs: - run: | cd nil.ninja - cd vhosts/t/albatross-php-2026 + cd services/albatross-php-2026 git fetch --prune origin git switch -d origin/main cd "$(git rev-parse --show-superproject-working-tree)" - git add vhosts/t/albatross-php-2026 + git add services/albatross-php-2026 git config user.name nsfisis git config user.email nsfisis@gmail.com - git commit -m "[automated] Update 'vhosts/t/albatross-php-2026' (${GITHUB_SHA})" + git commit -m "[automated] Update 'services/albatross-php-2026' (${GITHUB_SHA})" git push origin main diff --git a/compose.local.yaml b/compose.local.yaml index 7c06a7b..2d62f5a 100644 --- a/compose.local.yaml +++ b/compose.local.yaml @@ -3,7 +3,7 @@ services: build: context: ./backend ports: - - '127.0.0.1:8004:80' + - '127.0.0.1:8007:80' volumes: - files-data:/data/files:rw depends_on: diff --git a/compose.prod.yaml b/compose.prod.yaml index 5b9e346..1799601 100644 --- a/compose.prod.yaml +++ b/compose.prod.yaml @@ -2,7 +2,7 @@ services: reverse-proxy: image: nginx:1.27 ports: - - '127.0.0.1:8004:80' + - '127.0.0.1:8007:80' volumes: - ./nginx.conf:/etc/nginx/nginx.conf:ro - files-data:/var/www/files:ro diff --git a/frontend/app/api/client.ts b/frontend/app/api/client.ts index db5f8c8..acc1ee9 100644 --- a/frontend/app/api/client.ts +++ b/frontend/app/api/client.ts @@ -5,7 +5,7 @@ import type { paths } from "./schema"; const apiOrigin = import.meta.env.VITE_API_BASE_URL ?? - (import.meta.env.DEV ? "http://localhost:8004" : ""); + (import.meta.env.DEV ? "http://localhost:8007" : ""); const client = createClient({ baseUrl: `${apiOrigin}${API_BASE_PATH}`, diff --git a/frontend/app/components/UserIcon.tsx b/frontend/app/components/UserIcon.tsx index 2d17560..b2750dd 100644 --- a/frontend/app/components/UserIcon.tsx +++ b/frontend/app/components/UserIcon.tsx @@ -11,7 +11,7 @@ export default function UserIcon({ iconPath, displayName, className }: Props) {