mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-26 06:23:35 -04:00
[debug] add current version/commit to the footer
This commit is contained in:
parent
a951b268bd
commit
41350428ec
2
Makefile
2
Makefile
@ -21,10 +21,10 @@ stop:
|
|||||||
node_modules/.bin/avris-daemonise stop webserver
|
node_modules/.bin/avris-daemonise stop webserver
|
||||||
|
|
||||||
deploy: install
|
deploy: install
|
||||||
|
git log -n 1 --pretty=format:"%H" > ./cache/version
|
||||||
yarn build
|
yarn build
|
||||||
node server/migrate.js
|
node server/migrate.js
|
||||||
echo "\ncaches.keys().then(cs=>cs.forEach(c=>caches.delete(c)))" >> static/sw.js
|
echo "\ncaches.keys().then(cs=>cs.forEach(c=>caches.delete(c)))" >> static/sw.js
|
||||||
git log -n 1 --pretty=format:"%H" > ./cache/version
|
|
||||||
ln -sfn ../data/img ./static/img-local
|
ln -sfn ../data/img ./static/img-local
|
||||||
ln -sfn ../data/docs ./static/docs-local
|
ln -sfn ../data/docs ./static/docs-local
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user