From 7b9e5d2d18ca5f1f537e0def6260ca8ea59d1df1 Mon Sep 17 00:00:00 2001 From: sorrel Date: Wed, 17 Jan 2024 21:13:56 -0500 Subject: [PATCH] add html cache directories to static/ --- .gitignore | 2 +- .woodpecker/deploy.sh | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 2e0f065..46dadc0 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,6 @@ sorrel/** deploy-dir/** tool/** -static/** +static/**/**.html publish-test/** todo.txt diff --git a/.woodpecker/deploy.sh b/.woodpecker/deploy.sh index cc4f567..f30bb62 100755 --- a/.woodpecker/deploy.sh +++ b/.woodpecker/deploy.sh @@ -10,6 +10,17 @@ mv dist oxaliq/. mv source 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 echo "COPYING FILES TO DEPLOYMENT TARGET" scp -r oxaliq "$host":~/