mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2025-12-12 07:40:26 -08:00
add AladinLiteSrc.tar.gz in the build pipeline
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -8,4 +8,4 @@ package-lock.json
|
||||
src/core/target/
|
||||
src/core/Cargo.lock
|
||||
|
||||
aladin-lite-v3.tar.gz
|
||||
AladinLiteSrc.tar.gz
|
||||
@@ -2,7 +2,10 @@ USER_ALADIN="matthieu.baumann"
|
||||
DATEUPLOAD="$(date '+%Y-%m-%d')"
|
||||
|
||||
ssh $USER_ALADIN@aladin 'sg hips -c "mkdir -p $HOME/al-tmp && rm -rf $HOME/al-tmp/*"'
|
||||
# Copy the dist files
|
||||
scp dist/* $USER_ALADIN@aladin:~/al-tmp
|
||||
# Copy the tar.gz
|
||||
scp AladinLiteSrc.tar.gz $USER_ALADIN@aladin:~/al-tmp
|
||||
|
||||
ssh $USER_ALADIN@aladin 'sg hips -c "rm -rf /home/thomas.boch/AladinLite/www/api/v3/8-12-2022d &&
|
||||
mkdir -p /home/thomas.boch/AladinLite/www/api/v3/8-12-2022d &&
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
"name": "hips_webgl_renderer",
|
||||
"scripts": {
|
||||
"predeploy": "npm run build",
|
||||
"package-tar": "npm run predeploy && tar -zcvf aladin-lite-v3.tar.gz dist/*",
|
||||
"deploy": "./deploy-dbg.sh",
|
||||
"package-tar": "npm run predeploy && tar -zcvf AladinLiteSrc.tar.gz dist/*",
|
||||
"deploy": "npm run package-tar && ./deploy-dbg.sh",
|
||||
"build": "webpack && sed \"s/\\\\.\\\\/\\\\.\\\\.\\\\/aladin\\\\.js/https:\\\\/\\\\/aladin.cds.unistra.fr\\\\/AladinLite\\\\/api\\\\/v3\\\\/latest\\\\/aladin.js/g\" examples/index.html > dist/index.html",
|
||||
"serve": "webpack-dev-server"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user