Skip to content

Commit 111e3e9

Browse files
committed
ci(workflow): change order and use secrets
1 parent 64e36ea commit 111e3e9

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/build.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,17 @@ jobs:
1616
steps:
1717
- uses: actions/[email protected]
1818

19-
- name: Run docker compose
20-
uses: hoverkraft-tech/[email protected]
21-
with:
22-
compose-file: "compose-dev.yaml"
23-
2419
- name: Build production and development docker images
2520
run: |
2621
./community/youtube/build.sh
2722
docker compose build
23+
24+
- name: Run docker compose
25+
uses: hoverkraft-tech/[email protected]
26+
with:
27+
compose-file: "compose-dev.yaml"
28+
env:
29+
MCP_SERVER_PORT: ${{ secrets.MCP_SERVER_PORT }}
30+
YOUTUBE_API_KEY: ${{ secrets.YOUTUBE_API_KEY }}
31+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
32+
POSTGRES_DSN: ${{ secrets.POSTGRES_DSN }}

0 commit comments

Comments
 (0)