remove contents before redeploy
This commit is contained in:
parent
c99e4a3bbb
commit
05311eb9e1
1 changed files with 16 additions and 0 deletions
16
.cpanel.yml
16
.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
|
||||
|
|
Loading…
Reference in a new issue