Skip to content

Commit

Permalink
Deploy site
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Feb 23, 2024
1 parent 81e184d commit 87d7bef
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
echo "Nominatim_Config.Page_Title = 'PaslestineOpenMaps';" > dist/theme/config.theme.js
echo "Nominatim_Config.Nominatim_API_Endpoint = 'http:http://pom.masrad.org:8083';" >> dist/theme/config.theme.js
npm install
npm run deploy
3 changes: 2 additions & 1 deletion dist/theme/config.theme.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Nominatim_Config.Page_Title = 'OpenHistoricalMap';
Nominatim_Config.Page_Title = 'PaslestineOpenMaps';
Nominatim_Config.Nominatim_API_Endpoint = 'http:http://pom.masrad.org:8083';
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"lint": "eslint --quiet .*.js src/ test/",
"lint:fix": "eslint --fix .*.js src/ test/",
"test": "rollup -c && mocha --recursive test/",
"start": "static-server dist"
"start": "static-server dist",
"deploy": "npm run build && gh-pages -d dist/"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^22.0",
Expand All @@ -35,6 +36,7 @@
"eslint-config-airbnb-base": "^15.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-svelte3": "^4.0",
"gh-pages": "^6.1.1",
"leaflet": "1.8.0",
"leaflet-minimap": "^3.6.1",
"timeago.js": "^4.0.2"
Expand Down

0 comments on commit 87d7bef

Please sign in to comment.