Skip to content

Commit

Permalink
ci: better deployment script (#690)
Browse files Browse the repository at this point in the history
  • Loading branch information
hughcrt authored Dec 27, 2024
1 parent 2fbd5b7 commit 8039966
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build-push-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,7 @@ jobs:
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: ${{ secrets.PRODUCTION_PORT }}
script: |
docker image prune -f
cd /opt/lunary
docker compose pull
docker compose down
docker compose up -d
docker compose pull backend enrichers
docker compose up -d backend enrichers
docker image prune -f
1 change: 1 addition & 0 deletions packages/backend/src/api/v1/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import dashboards from "./dashboards";
import charts from "./charts";
import openapi from "./openapi";

console.log("new");
const v1 = new Router({
prefix: "/v1",
});
Expand Down

0 comments on commit 8039966

Please sign in to comment.