This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user