Note that the `sitemap:refresh` task only pings search engines at the end, so it only does so for the `Sitemap.default_host` defined last. So we're using the `sitemap:refresh:no_ping` task instead and pinging search engines after creating each sitemap. Note we're pinging search engines in staging and preproduction environments. I'm leaving it that way because that's what we've done until now, but I wonder whether we should only do so on production. Since we're creating a new method to get the current url_options, we're also using it in the dev_seeds.
40 lines
854 B
Plaintext
40 lines
854 B
Plaintext
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
|
|
#
|
|
# If you find yourself ignoring temporary files generated by your text editor
|
|
# or operating system, you probably want to add a global ignore instead:
|
|
# git config --global core.excludesfile '~/.gitignore_global'
|
|
|
|
# Confidential information
|
|
/config/database.yml
|
|
/config/secrets.yml
|
|
/config/deploy-secrets.yml
|
|
/config/maintenance.yml
|
|
|
|
# Logfiles and tempfiles.
|
|
log/*
|
|
!log/.keep
|
|
tmp/
|
|
|
|
# Files attached by users
|
|
/public/system/
|
|
/public/ckeditor_assets/
|
|
/storage/
|
|
|
|
# Files generated by scripts or compiled
|
|
/public/sitemap.xml
|
|
/public/tenants/*/sitemap.xml
|
|
/public/assets/
|
|
/public/machine_learning/data/
|
|
|
|
# Bundler config, cache and gemsets
|
|
.bundle/
|
|
.ruby-gemset
|
|
|
|
# Files used in local development
|
|
.byebug_history
|
|
.DS_Store
|
|
|
|
# Test results
|
|
/spec/examples.txt
|
|
/coverage/
|