Skip to content

Commit 7ce93d3

Browse files
committed
publish to github npm registry
1 parent 1155770 commit 7ce93d3

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/pre-release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,10 @@ jobs:
3434
name: argocd-mcp-server
3535
path: argocd-mcp-server-*.tgz
3636
retention-days: 7
37+
- name: Setup npm registry authentication
38+
run: |
39+
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > .npmrc
40+
- name: Publish to GitHub Packages
41+
run: npm publish --registry=https://npm.pkg.github.com
42+
env:
43+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "argocd-mcp-server",
2+
"name": "@akuityio/argocd-mcp-server",
33
"version": "0.0.1",
44
"description": "ArgoCD MCP Server",
55
"main": "dist/argocd-mcp-server",

0 commit comments

Comments
 (0)