remove contents before redeploy

This commit is contained in:
Aliberk Sandıkçı 2024-04-13 13:14:35 +03:00
parent c99e4a3bbb
commit 05311eb9e1

View file

@ -1,5 +1,21 @@
deployment: deployment:
tasks: 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/404.html ~/public_html
- /bin/cp _site/feed.xml ~/public_html - /bin/cp _site/feed.xml ~/public_html
- /bin/cp _site/index.html ~/public_html - /bin/cp _site/index.html ~/public_html