make image

This commit is contained in:
Aiden McClelland
2020-12-22 13:01:31 -07:00
committed by Aiden McClelland
parent 1cce947846
commit 2f6bd4b1b6
8 changed files with 103 additions and 20 deletions

View File

@@ -10,14 +10,6 @@ rm -rf www
echo "FILTER: ionic build"
npm run build-prod
echo "FILTER: cp client-manifest.yaml www"
cp client-manifest.yaml www
echo "FILTER: git hash"
touch git-hash.txt
git log | head -n1 > git-hash.txt
mv git-hash.txt www
echo "FILTER: ssh + rm -rf /var/www/html/start9-ambassador/"
ssh root@start9-$1.local "rm -rf /var/www/html/start9-ambassador"

View File

@@ -8,7 +8,7 @@
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"build-prod": "ng build --prod && tsc postprocess.ts && node postprocess.js",
"build-prod": "ng build --prod && tsc postprocess.ts && node postprocess.js && cp client-manifest.yaml www && git log | head -n1 > www/git-hash.txt",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
@@ -58,4 +58,4 @@
"tslint": "^6.1.0",
"typescript": "4.0.5"
}
}
}