diff options
author | Kati Paizee <kpaizee@gitlab.com> | 2022-09-21 18:57:33 +0300 |
---|---|---|
committer | Kati Paizee <kpaizee@gitlab.com> | 2022-09-21 18:57:33 +0300 |
commit | f323709de18089261931ca452fd47c76e579c128 (patch) | |
tree | 1e8f97a912f30258183f1d270e3972422660ce01 | |
parent | 0c7e647a0bfc4d5f61b2ef15d34d02b417e53d18 (diff) |
Fix source path for rake taskkpaizee-fix-redirect-rake-task
-rw-r--r-- | lib/tasks/redirects.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/redirects.rake b/lib/tasks/redirects.rake index 8935e645..61f83336 100644 --- a/lib/tasks/redirects.rake +++ b/lib/tasks/redirects.rake @@ -28,7 +28,7 @@ end namespace :docs do desc 'GitLab | Docs | Clean up old redirects' task :clean_redirects do - source_dir = File.expand_path(__dir__) + source_dir = File.expand_path('../../', __dir__) redirects_yaml = "#{source_dir}/content/_data/redirects.yaml" today = Time.now.utc.to_date mr_title = "Clean up docs redirects - #{today}" |