add html cache directories to static/
All checks were successful
ci/woodpecker/push/build-and-deploy Pipeline was successful

This commit is contained in:
sorrel 2024-01-17 21:13:56 -05:00
parent d78aa17404
commit 7b9e5d2d18
2 changed files with 12 additions and 1 deletions

2
.gitignore vendored
View file

@ -3,6 +3,6 @@
sorrel/** sorrel/**
deploy-dir/** deploy-dir/**
tool/** tool/**
static/** static/**/**.html
publish-test/** publish-test/**
todo.txt todo.txt

View file

@ -10,6 +10,17 @@ mv dist oxaliq/.
mv source oxaliq/. mv source oxaliq/.
mv static oxaliq/. mv static oxaliq/.
# add html cache directories
echo "ADDING HTML CACHE DIRECTORIES"
mkdir fragment
mkdir fragment/settled
mkdir fragment/unsettled
mv fragment oxaliq/static/.
mkdir page
mkdir page/settled
mkdir page/unsettled
mv page oxaliq/static/.
# put them on the deployment target # put them on the deployment target
echo "COPYING FILES TO DEPLOYMENT TARGET" echo "COPYING FILES TO DEPLOYMENT TARGET"
scp -r oxaliq "$host":~/ scp -r oxaliq "$host":~/