diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index b94894b..f5dd2a1 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -8,36 +8,16 @@ on: jobs: build-and-deploy: runs-on: ubuntu-latest - container: - options: -v /var/run/docker.sock:/var/run/docker.sock steps: - name: Checkout uses: actions/checkout@v4 - - name: Setup pnpm - uses: actions/setup-node@v4 - with: - node-version: '22' + - name: Build XHS image + run: docker build --build-arg APP_NAME=xhs-mcp -t social-mcp-xhs:latest . - - name: Install pnpm - run: npm install -g pnpm - - - name: Build XHS Docker image - run: | - docker build \ - --build-arg APP_NAME=xhs-mcp \ - -t social-mcp-xhs:latest \ - -t social-mcp-xhs:${{ github.sha }} \ - . - - - name: Build XHH Docker image - run: | - docker build \ - --build-arg APP_NAME=xhh-mcp \ - -t social-mcp-xhh:latest \ - -t social-mcp-xhh:${{ github.sha }} \ - . + - name: Build XHH image + run: docker build --build-arg APP_NAME=xhh-mcp -t social-mcp-xhh:latest . - name: Deploy run: |