Skip to content

Commit

Permalink
Fixes for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed May 1, 2024
1 parent a46d242 commit b3f1065
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ mv script.$VERSION.json ui/projects/businessgate/src/assets/script.$SCRIPT_VERSI
echo "export const VERSION='$VERSION';" > ui/projects/businessgate/src/app/version.ts && \
echo "export const SCRIPT_VERSION='$SCRIPT_VERSION';" >> ui/projects/businessgate/src/app/version.ts && \
git add ui/projects/businessgate/src/assets/script.$SCRIPT_VERSION.json || true && \
curl 'https://opendata.hasadna.org.il/dataset/d854bea1-69af-4763-a2b7-8b193bba2ca3/resource/3830d521-c9b3-46fe-9ba4-2d90483f79a2/download/business_kind_licensing_rules.json' > ui/projects/businessgate/src/assets/business_kind_licensing_rules.json && \
curl 'https://opendata.hasadna.org.il/dataset/d854bea1-69af-4763-a2b7-8b193bba2ca3/resource/371dad70-c782-4568-a3c1-8013d460521d/download/business_kind_property_tax_rules.json' > ui/projects/businessgate/src/assets/business_kind_property_tax_rules.json && \
git add ui/projects/businessgate/src/assets/business_kind_licensing_rules.json || true && \
git add ui/projects/businessgate/src/assets/business_kind_property_tax_rules.json || true && \
git commit -m "Automatic update of script for version $SCRIPT_VERSION" || true && \
git push || true && \
(git branch -D dist || true) && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const environment = {
appId: '1:292108806732:web:1b2df43212b5e0202ae2e9',
measurementId: 'G-MCEC1ECFK6'
},
base: '/datacity-businessgate/',
base: '/',
// base: '/',
timeout: 1000
};

0 comments on commit b3f1065

Please sign in to comment.