Update baseurl in configuration for GitHub Pages and enhance deployment workflow with additional file listings

This commit is contained in:
Z. Cliffe Schreuders
2025-09-23 17:22:22 +01:00
parent 737164b471
commit 73bc16b001
2 changed files with 13 additions and 1 deletions

View File

@@ -39,7 +39,19 @@ jobs:
echo "Ruby version: $(ruby --version)" echo "Ruby version: $(ruby --version)"
echo "Bundler version: $(bundle --version)" echo "Bundler version: $(bundle --version)"
echo "Jekyll version: $(bundle exec jekyll --version)" echo "Jekyll version: $(bundle exec jekyll --version)"
echo "Listing files before build:"
ls -la
echo "Listing _labs directory:"
ls -la _labs/
echo "Listing _labs/introducing_attacks directory:"
ls -la _labs/introducing_attacks/
bundle exec jekyll build --verbose bundle exec jekyll build --verbose
echo "Listing _site directory after build:"
ls -la _site/
echo "Listing _site/labs directory:"
ls -la _site/labs/ || echo "No labs directory found"
echo "Listing _site/assets directory:"
ls -la _site/assets/ || echo "No assets directory found"
env: env:
JEKYLL_ENV: production JEKYLL_ENV: production
PAGES_REPO_NWO: cliffe/HacktivityLabSheets PAGES_REPO_NWO: cliffe/HacktivityLabSheets

View File

@@ -1,7 +1,7 @@
# Site settings # Site settings
title: Hacktivity Lab Sheets title: Hacktivity Lab Sheets
description: Lab sheets for Hacktivity SecGen labs description: Lab sheets for Hacktivity SecGen labs
# baseurl: "/HacktivityLabSheets" # Commented out for local development baseurl: "/HacktivityLabSheets" # Required for GitHub Pages
url: "https://cliffe.github.io" url: "https://cliffe.github.io"
# GitHub Pages settings # GitHub Pages settings