Sitemaps
How can I symlink the sitemaps directory every deploy?
ln -s $DIR/shared/public/shared $RELEASE_DIR/public/sharedmkdir -p ~/appname/shared/public/shared# Shared directory so all deployments will have the sitemap
SitemapGenerator::Sitemap.sitemaps_path = 'shared/'
SitemapGenerator::Sitemap.create do
group(sitemaps_path: 'shared/sitemaps', filename: 'general-pages') do
end
endLast updated