Skip to content
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
24e4f0c
Bump addressable from 2.7.0 to 2.8.6
dependabot[bot] Feb 27, 2024
f23aaf4
Bump rexml from 3.2.5 to 3.2.8
dependabot[bot] May 16, 2024
b587c1b
fix: Implement mobile navigation menu functionality
Oct 3, 2025
eab96ff
Remove legacy i18n code and implement Jekyll Polyglot date localization
Oct 3, 2025
794ca7b
Implement multilingual blog post deduplication and language links
Oct 3, 2025
24b407b
Ignore auto-generated files to prevent merge conflicts
Oct 3, 2025
bc33067
Resolve merge conflict: remove events.json as it should be auto-gener…
Oct 3, 2025
8cf9f27
Fix JavaScript linting errors
Oct 3, 2025
fcf0934
Fix npm deprecation warnings and update dependencies
Oct 3, 2025
5c30e8a
Fix ESM import error in gulpfile for del package
Oct 3, 2025
7f7c0c1
Update GitHub Actions to v5 for improved security and performance
Oct 3, 2025
dc735a6
Add blog pagination with multilingual support
Oct 3, 2025
0f99edd
feat: comprehensive mobile improvements across site
Oct 3, 2025
c2ddcf7
fix: improve French navigation URLs
Oct 3, 2025
17bfb5f
fix: resolve linting issues across JavaScript and CSS
Oct 3, 2025
10e6dd6
Merge publish branch: resolve events.json conflict by removing from t…
Oct 5, 2025
d2b5189
Implement GDPR compliance and fix font sizing issues
Oct 6, 2025
f6b8d46
Resolve merge conflicts with publish branch
Oct 6, 2025
f8e396b
Resolve Dependabot security updates
Oct 6, 2025
1d3be63
Complete Dependabot security updates - npm and GitHub Actions
Oct 6, 2025
8ffe645
Merge REXML security update
Oct 6, 2025
98b28ca
Merge addressable security update
Oct 6, 2025
b35e2a0
Fix SCSS compilation in build pipeline
Oct 6, 2025
ec6d86d
Fix formatting and indentation in Czech translation file (cs.yml)
Oct 6, 2025
db084cc
Add workspace file to .gitignore
Oct 6, 2025
6e8fa3a
Update documentation: modernize README, enhance internationalization …
Oct 6, 2025
5b5f716
Fix GitHub Actions deployment workflow
Oct 6, 2025
7d88e66
Resolve merge conflicts with publish branch
Oct 6, 2025
e970a04
Fix deployment workflow: improve file copying and add debugging
Oct 6, 2025
7487fe1
Resolve merge conflicts with updated publish branch
Oct 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 39 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,52 @@ jobs:
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"

# Remove all files except .git and _site
find . -maxdepth 1 ! -name '.git' ! -name '.' ! -name '..' ! -name '_site' -exec rm -rf {} +
# Debug: Show current directory contents
echo "=== Before cleanup ==="
ls -la

# Copy built site files to root
cp -r _site/* .
rm -rf _site
# Remove all files except .git and _site (more targeted approach)
shopt -s dotglob
for item in *; do
if [[ "$item" != ".git" && "$item" != "_site" ]]; then
echo "Removing: $item"
rm -rf "$item"
fi
done
shopt -u dotglob

# Debug: Show directory after cleanup
echo "=== After cleanup ==="
ls -la

# Debug: Show _site contents
echo "=== _site directory contents ==="
ls -la _site/

# Copy built site files to root with verification
if [ -d "_site" ] && [ "$(ls -A _site)" ]; then
echo "Copying _site contents to root..."
cp -rv _site/* .
cp -rv _site/.[^.]* . 2>/dev/null || true # Copy hidden files if they exist
echo "Copy completed. Removing _site directory..."
rm -rf _site
else
echo "Error: _site directory is empty or does not exist"
exit 1
fi

# Debug: Show final directory structure
echo "=== Final directory structure ==="
ls -la
echo "=== assets/styles directory ==="
ls -la assets/styles/ || echo "No assets/styles directory found"

# Add and commit changes
git add -A
if git diff --staged --quiet; then
echo "No changes to deploy"
else
echo "Committing and pushing changes..."
git commit -m "CI deploy to gh-pages from publish@${{ github.sha }}"
git push origin master
fi