From 05311eb9e13a17bff8effec8967cbbbaf42edcfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aliberk=20Sand=C4=B1k=C3=A7=C4=B1?= Date: Sat, 13 Apr 2024 13:14:35 +0300 Subject: [PATCH] remove contents before redeploy --- .cpanel.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.cpanel.yml b/.cpanel.yml index 718d0e5..bf34c8e 100644 --- a/.cpanel.yml +++ b/.cpanel.yml @@ -1,5 +1,21 @@ deployment: tasks: + - /bin/rm ~/public_html/404.html + - /bin/rm ~/public_html/feed.xml + - /bin/rm ~/public_html/index.html + - /bin/rm ~/public_html/redirects.json + - /bin/rm ~/public_html/robots.txt + - /bin/rm ~/public_html/sitemap.xml + - /bin/rm ~/public_html/sw.min.js + - /bin/rm -R ~/public_html/about + - /bin/rm -R ~/public_html/archives + - /bin/rm -R ~/public_html/assets + - /bin/rm -R ~/public_html/categories + - /bin/rm -R ~/public_html/donate + - /bin/rm -R ~/public_html/norobots + - /bin/rm -R ~/public_html/now + - /bin/rm -R ~/public_html/posts + - /bin/rm -R ~/public_html/tags - /bin/cp _site/404.html ~/public_html - /bin/cp _site/feed.xml ~/public_html - /bin/cp _site/index.html ~/public_html