File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Build and Push Docker Image
1+ name : Build and Push Docker Images
22
33on :
44 push :
55 branches : [ main ]
66 workflow_dispatch :
77
88jobs :
9- build :
9+ build-process-flow :
1010 runs-on : ubuntu-latest
1111
1212 steps :
@@ -22,10 +22,32 @@ jobs:
2222 username : ${{ secrets.DOCKERHUB_USERNAME }}
2323 password : ${{ secrets.DOCKERHUB_TOKEN }}
2424
25- - name : Build and push Docker image
25+ - name : Build and push process-flow image
2626 uses : docker/build-push-action@v4
2727 with :
2828 context : .
2929 push : true
3030 tags : mertend/process-flow:latest
3131
32+ build-activity-openrouter :
33+ runs-on : ubuntu-latest
34+
35+ steps :
36+ - name : Checkout repository
37+ uses : actions/checkout@v3
38+
39+ - name : Set up Docker Buildx
40+ uses : docker/setup-buildx-action@v2
41+
42+ - name : Log in to Docker Hub
43+ uses : docker/login-action@v2
44+ with :
45+ username : ${{ secrets.DOCKERHUB_USERNAME }}
46+ password : ${{ secrets.DOCKERHUB_TOKEN }}
47+
48+ - name : Build and push activity-openrouter image
49+ uses : docker/build-push-action@v4
50+ with :
51+ context : ./custom-activities/openrouter
52+ push : true
53+ tags : mertend/activity-openrouter:latest
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ services:
2323 - traefik.http.services.process-flow.loadbalancer.server.port=3000
2424
2525 activity-openrouter :
26+ build : ./custom-activities/openrouter
2627 image : mertend/activity-openrouter:latest
2728 container_name : merten-activity-openrouter
2829 restart : unless-stopped
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ export function middleware(request: NextRequest) {
1111 pathname . startsWith ( "/authenticate" ) ||
1212 pathname . startsWith ( "/api/auth" ) ||
1313 pathname . startsWith ( "/api/instance" ) ||
14+ pathname === "/docs" ||
1415 pathname === "/"
1516
1617 if ( isPublic ) return response
You can’t perform that action at this time.
0 commit comments