Simplify Gitea Actions workflow
Build and Deploy / build-and-deploy (push) Waiting to run

This commit is contained in:
2026-06-01 16:58:04 +08:00
parent db3079d078
commit fab07d4288
+4 -24
View File
@@ -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: |