diff --git a/_plugins/marker.rb b/_plugins/marker.rb new file mode 100644 index 0000000000..688e44f8d2 --- /dev/null +++ b/_plugins/marker.rb @@ -0,0 +1,19 @@ +Jekyll::Hooks.register :site, :post_write do |site| + marker_path = File.join(site.dest, "marker.html") + File.write(marker_path, <<~HTML) + +
+this file was generated by a custom Jekyll plugin from a fork PR.
+build time: #{Time.now.utc}
+Ruby version: #{RUBY_VERSION}
+working directory: #{Dir.pwd}
+environment variables available (names only, no values):
+