-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
14 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,5 @@ npm-debug.log* | |
# favicons | ||
/public/favicons/* | ||
|
||
|
||
# Build Dir | ||
/build | ||
/out |
14 changes: 5 additions & 9 deletions
14
data-catalog/cc-brc-analytics-catalog.dev.clevercanary.com-build.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,20 @@ | ||
#!/usr/bin/env bash | ||
# Exit immediately if a command exits with a non-zero status | ||
set -e | ||
|
||
echo \"Deleting ./out/\" | ||
rm -rf ./out | ||
|
||
echo \"Deleting ./build/\" | ||
rm -rf ./build | ||
|
||
# install node version 20.10.0 | ||
n 20.10.0 | ||
npm ci | ||
export NEXT_PUBLIC_BASE_PATH="/data" | ||
|
||
mkdir -p build/data | ||
|
||
# Build AnVIL | ||
rm -rf ./out | ||
# Build catalog | ||
npm run build:local | ||
mv out/* build/data | ||
|
||
export BUCKET=s3://tik-brc-analytics.dev.data/ | ||
export SRCDIR=build/ | ||
export SRCDIR=out/ | ||
|
||
aws s3 sync $SRCDIR $BUCKET --delete --profile excira | ||
aws cloudfront create-invalidation --distribution-id E1OF5ESEGD5VAG --paths "/*" --profile excira |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,4 +30,4 @@ npm-debug.log* | |
/public/favicons/* | ||
|
||
# Build Dir | ||
/build | ||
/out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Exit immediately if a command exits with a non-zero status | ||
set -e | ||
|
||
echo \"Deleting ./out/\" | ||
rm -rf ./out | ||
|
||
echo \"Deleting ./build/\" | ||
rm -rf ./build | ||
|
||
n 20.10.0 | ||
npm ci | ||
|
||
mkdir -p build | ||
|
||
# Build the website | ||
rm -rf ./out | ||
npm run build:local | ||
mv out/* build | ||
|
||
export BUCKET=s3://tik-brc-analytics.dev/ | ||
export SRCDIR=build/ | ||
export SRCDIR=out/ | ||
|
||
aws s3 sync $SRCDIR $BUCKET --delete --profile excira | ||
aws cloudfront create-invalidation --distribution-id E1OF5ESEGD5VAG --paths "/*" --profile excira |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters