Skip to content

Commit caff06a

Browse files
committed
fix: pass secrets explicitly
1 parent d49a5cd commit caff06a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/deploy-mcp-on-merge.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ jobs:
99
deploy:
1010
name: Deploy MCP Server
1111
uses: ./.github/workflows/deploy-mcp-server.yml
12-
secrets: inherit # Pass down secrets like CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID
12+
# Pass secrets explicitly to the called workflow's 'secrets' input
13+
secrets:
14+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
15+
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

0 commit comments

Comments
 (0)