mirror of
https://github.com/badlogic/heissepreise.git
synced 2024-06-19 23:18:45 +02:00
Store latest-canonical.json for pages
This commit is contained in:
parent
e2ec6beaa4
commit
36531e15e7
2
pages.sh
2
pages.sh
|
@ -14,9 +14,11 @@ cp docs/latest-canonical.json tmp-data
|
|||
|
||||
npm install
|
||||
node pages.js tmp-data
|
||||
node migrate tmp-data ".json.br" ".json"
|
||||
cp tmp-data/latest-canonical* docs
|
||||
|
||||
cp site/* docs
|
||||
rm docs/latest-canonical.json.*
|
||||
pushd docs
|
||||
git add *
|
||||
git commit -am "Updated $(date +'%Y-%m-%d')"
|
||||
|
|
Loading…
Reference in New Issue
Block a user