Skip to content

Commit

Permalink
fix: update cc dev gatsby deploy (#2381)
Browse files Browse the repository at this point in the history
  • Loading branch information
NoopDog committed Mar 21, 2024
1 parent 245946b commit d176cdb
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions cc-dev-deploy.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
#!/usr/bin/env bash

rm -rf ./_metadata-schema
rm -rf ./humancellatlas.github.io

git clone https://github.com/HumanCellAtlas/metadata-schema.git _metadata-schema
git clone https://github.com/HumanCellAtlas/humancellatlas.github.io

n 14.16.0
npm ci

gatsby clean

export GATSBY_EXPLORE_URL=https://hca-data-portal.dev.clevercanary.com/explore/
export GATSBY_PORTAL_URL=https://hca-data-portal.dev.clevercanary.com/
export GATSBY_EXPLORE_URL=https://explore.data.humancellatlas.dev.clevercanary.com/
export GATSBY_PORTAL_URL=https://data.humancellatlas.dev.clevercanary.com/
export GATSBY_FILE_SUMMARY_API_URL=https://service.dev.singlecell.gi.ucsc.edu/index/summary
export GATSBY_TERM_FACETS_API_URL=https://service.dev.singlecell.gi.ucsc.edu/index/projects
export GATSBY_SYSTEM_HEALTH_CHECK_API_URL=https://service.dev.singlecell.gi.ucsc.edu/health/progress
Expand All @@ -16,7 +25,7 @@ export GATSBY_ATLAS=hca
gatsby build


export BUCKET=s3://hca-data-portal.dev.clevercanary.com/
export BUCKET=s3://wb8-portal/
export SRCDIR=public/
aws s3 sync $SRCDIR $BUCKET --delete --profile excira
aws cloudfront create-invalidation --distribution-id E2TY6LP6E2DGZ3 --paths "/*" --profile excira
aws cloudfront create-invalidation --distribution-id E2SLGSHX4H0LO7 --paths "/*" --profile excira

0 comments on commit d176cdb

Please sign in to comment.