Skip to content

Commit 60608f8

Browse files
ci: add manual Docker Hub README update workflow
- Add workflow_dispatch trigger to main CI/CD - Create separate update-docker-readme.yml for manual README updates - Allows updating Docker Hub description without triggering builds
1 parent af28dad commit 60608f8

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
tags: [ 'v*' ] # Tags trigger Docker builds
77
pull_request:
88
branches: [ main ] # PRs to main get tested
9+
workflow_dispatch: # Allow manual triggering
910

1011
permissions:
1112
contents: write
@@ -103,6 +104,23 @@ jobs:
103104
repository: ${{ secrets.DOCKERHUB_USERNAME }}/help-scout-mcp-server
104105
short-description: "MCP server for Help Scout - enables AI assistants to search conversations and support data"
105106
readme-filepath: ./README.md
107+
108+
update-docker-readme:
109+
runs-on: ubuntu-latest
110+
needs: test
111+
if: github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/main'
112+
113+
steps:
114+
- uses: actions/checkout@v4
115+
116+
- name: Update Docker Hub description only
117+
uses: peter-evans/dockerhub-description@v4
118+
with:
119+
username: ${{ secrets.DOCKERHUB_USERNAME }}
120+
password: ${{ secrets.DOCKERHUB_TOKEN }}
121+
repository: ${{ secrets.DOCKERHUB_USERNAME }}/help-scout-mcp-server
122+
short-description: "MCP server for Help Scout - enables AI assistants to search conversations and support data"
123+
readme-filepath: ./README.md
106124

107125
release:
108126
runs-on: ubuntu-latest
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Update Docker Hub README
2+
3+
on:
4+
workflow_dispatch: # Manual trigger only
5+
6+
permissions:
7+
contents: read
8+
9+
jobs:
10+
update-readme:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Update Docker Hub description
17+
uses: peter-evans/dockerhub-description@v4
18+
with:
19+
username: ${{ secrets.DOCKERHUB_USERNAME }}
20+
password: ${{ secrets.DOCKERHUB_TOKEN }}
21+
repository: ${{ secrets.DOCKERHUB_USERNAME }}/help-scout-mcp-server
22+
short-description: "Help Scout MCP Server v1.3.0 - Enhanced tool guidance, MCP SDK v1.17.4, DXT format compliance"
23+
readme-filepath: ./README.md

0 commit comments

Comments
 (0)