Skip to content

Commit

Permalink
Change deploy to always deploy production build.
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvarner committed Jun 10, 2024
1 parent b06f399 commit 1bd35ef
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 12 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,7 @@ aws ecr get-login-password --region us-east-1 | \
docker login --username AWS --password-stdin "${AWS_ECR}"
echo "Logged in successfully"

echo "Building Docker image for ${BRANCH}"
if [ "$BRANCH" == "main" ]; then
docker build -t georgia-coast-atlas --no-cache .
else
docker build -t georgia-coast-atlas --no-cache --file Dockerfile-dev .
fi
docker build -t georgia-coast-atlas --no-cache .

echo "Tagging image with ${TAG}"
docker tag georgia-coast-atlas "${AWS_ECR}/georgia-coast-atlas:${TAG}"
Expand Down
23 changes: 18 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"@remix-run/serve": "^2.9.2",
"@types/geojson": "^7946.0.14",
"@types/uuid": "^9.0.8",
"cross-env": "^7.0.3",
"isbot": "^5.1.8",
"maplibre-gl": "^4.3.2",
"react": "^18.3.1",
Expand Down
8 changes: 7 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ export default defineConfig({
}),
],
ssr: {
noExternal: ["remix-utils", "maplibre-gl", "@turf_turf"],
target: "node",
noExternal: [
"remix-utils",
"maplibre-gl",
"@turf_turf",
"@samvera_clover-iiif",
],
},
});

0 comments on commit 1bd35ef

Please sign in to comment.