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":~/