Skip to content

Commit

Permalink
sync/shared-config: make relative ruby_version/Gemfile* symlinks.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Jun 14, 2024
1 parent ba20a31 commit 190e972
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/sync/shared-config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ def git(*args)
if [ruby_version, "Gemfile", "Gemfile.lock"].include?(docs_path_basename) &&
(target_path/docs_path_basename).exist?
FileUtils.rm target_docs_path
File.symlink((target_path/docs_path_basename).relative_path_from(target_docs_path.dirname), target_docs_path)
else
FileUtils.cp docs_path, target_docs_path
end
Expand Down

0 comments on commit 190e972

Please sign in to comment.