From 40d66d356bb10796ec734c2a3147351b1b7821e3 Mon Sep 17 00:00:00 2001 From: opti1337 Date: Mon, 22 Dec 2025 21:50:33 +0600 Subject: [PATCH] update --- .gitea/workflows/deploy-client.yml | 36 +++++++++++++++--------------- client/Dockerfile.windows | 2 ++ 2 files changed, 20 insertions(+), 18 deletions(-) diff --git a/.gitea/workflows/deploy-client.yml b/.gitea/workflows/deploy-client.yml index 947f3bd..ecbb8a7 100644 --- a/.gitea/workflows/deploy-client.yml +++ b/.gitea/workflows/deploy-client.yml @@ -12,6 +12,24 @@ on: - "client/**" jobs: + publish-tauri: + runs-on: ubuntu-latest + + steps: + - name: Keyscan + run: | + ssh-keyscan git.koptilnya.xyz >> ~/.ssh/known_hosts + + - name: Checkout + uses: actions/checkout@v4 + with: + ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} + ssh-strict: false + persist-credentials: false + + - name: Build + run: docker build -t chad-client -f ./client/Dockerfile.windows ./client --build-arg COMMIT_SHA=${{ gitea.sha }} --build-arg API_BASE_URL=${{ vars.API_BASE_URL }} + publish-web: runs-on: ubuntu-latest @@ -44,21 +62,3 @@ jobs: --label "traefik.http.routers.chad-client.tls.certresolver=myresolver" \ --label "traefik.http.services.chad-client.loadbalancer.server.port=80" \ chad-client:latest - - publish-tauri: - runs-on: ubuntu-latest - - steps: - - name: Keyscan - run: | - ssh-keyscan git.koptilnya.xyz >> ~/.ssh/known_hosts - - - name: Checkout - uses: actions/checkout@v4 - with: - ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} - ssh-strict: false - persist-credentials: false - - - name: Build - run: docker build -t chad-client -f ./client/Dockerfile.windows ./client --build-arg COMMIT_SHA=${{ gitea.sha }} --build-arg API_BASE_URL=${{ vars.API_BASE_URL }} diff --git a/client/Dockerfile.windows b/client/Dockerfile.windows index 663bb23..5939154 100644 --- a/client/Dockerfile.windows +++ b/client/Dockerfile.windows @@ -8,6 +8,8 @@ RUN apt install -y curl unzip RUN curl -o- https://fnm.vercel.app/install | bash +RUN source /root/.bashrc + RUN fnm install 24 RUN corepack enable yarn