mirror of
https://github.com/cliffe/HacktivityLabSheets.git
synced 2026-02-20 13:50:46 +00:00
Update baseurl in configuration for GitHub Pages and enhance deployment workflow with additional file listings
This commit is contained in:
12
.github/workflows/deploy.yml
vendored
12
.github/workflows/deploy.yml
vendored
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user