web/.cpanel.yml
2024-04-13 13:14:35 +03:00

34 lines
No EOL
1.3 KiB
YAML

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
- /bin/cp _site/redirects.json ~/public_html
- /bin/cp _site/robots.txt ~/public_html
- /bin/cp _site/sitemap.xml ~/public_html
- /bin/cp _site/sw.min.js ~/public_html
- /bin/cp -R _site/about ~/public_html
- /bin/cp -R _site/archives ~/public_html
- /bin/cp -R _site/assets ~/public_html
- /bin/cp -R _site/categories ~/public_html
- /bin/cp -R _site/donate ~/public_html
- /bin/cp -R _site/norobots ~/public_html
- /bin/cp -R _site/now ~/public_html
- /bin/cp -R _site/posts ~/public_html
- /bin/cp -R _site/tags ~/public_html