Skip to content

Commit 7037a55

Browse files
dalekuncedependabot[bot]Dale Kunce
authored
Modernize 2025 (#537)
* Bump addressable from 2.7.0 to 2.8.6 --- updated-dependencies: - dependency-name: addressable dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * Bump rexml from 3.2.5 to 3.2.8 Bumps [rexml](https://github.com/ruby/rexml) from 3.2.5 to 3.2.8. - [Release notes](https://github.com/ruby/rexml/releases) - [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md) - [Commits](ruby/rexml@v3.2.5...v3.2.8) --- updated-dependencies: - dependency-name: rexml dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * fix: Implement mobile navigation menu functionality - Add mobile-menu.js with touch/click event handling for mobile devices - Replace CSS-only hover behavior with JavaScript-based menu toggle - Add touch-friendly styling with proper cursor and tap highlight removal - Implement menu auto-close on outside click, escape key, and window resize - Ensure mobile menu works properly on devices where hover doesn't function - Mobile menu activates at screen width < 650px as per existing breakpoints * Remove legacy i18n code and implement Jekyll Polyglot date localization - Remove i18n_filter.rb plugin and get_locale.html include (no longer needed) - Replace all localize filter usage with Jekyll Polyglot approach - Fix blog post date localization using site.data[site.active_lang].months array - Update month data structure with null placeholder for 1-based indexing - Replace get_locale.html includes with direct locale = site.active_lang assignment - All date localization now works correctly across EN/FR/ES/CS languages - Blog posts and listings display proper localized month names - Mobile menu JavaScript functionality preserved and working * Implement multilingual blog post deduplication and language links - Add post grouping logic to avoid duplicate posts on same day - Include language links for posts available in multiple languages - Add translation strings for 'also available in' text across all languages - Style language links with professional appearance - Maintain backward compatibility with single-language posts * Ignore auto-generated files to prevent merge conflicts - Add events.json to .gitignore since it's generated during build - Add .jekyll-metadata to .gitignore since it changes on every build - Remove these files from git tracking while keeping them in working directory - This prevents merge conflicts on files that are automatically regenerated * Fix JavaScript linting errors - Auto-fix indentation, spacing, and code style issues Resolves CI build failure due to linting errors * Fix npm deprecation warnings and update dependencies - Update ESLint from 8.x to 9.x to resolve deprecation warnings - Update glob from 7.x to 10.x for better performance and security - Update js-yaml from 3.x to 4.x for latest security patches - Update node-fetch from 2.x to 3.x with dynamic import support - Replace gulp-clean with modern 'del' package to avoid rimraf issues - Remove unused glob-all dependency - Fix unused error variables in events.js for ESLint compliance - Update fetch-events.cjs to work with node-fetch v3 ESM format All builds and linting now pass without warnings * Fix ESM import error in gulpfile for del package - del package is now ESM-only and requires dynamic imports in CommonJS files * Update GitHub Actions to v5 for improved security and performance - Update actions/checkout from v4 to v5 across all workflows - Keep upload/download-artifact at v4 (v5 not yet available) * Add blog pagination with multilingual support - Configure pagination to display 15 posts per page with proper URL structure - Add pagination navigation with Previous/Next buttons and page info Closes #411 * feat: comprehensive mobile improvements across site - Improved mobile blog layout with responsive cards and pagination - Added mobile-first breakpoints (768px, 480px) throughout - Increased button touch targets - Enhanced mobile footer and landing page responsiveness - Improved mobile typography scaling and spacing - Added better mobile menu interactions and accessibility features - All components now fully responsive with touch-friendly interfaces * fix: improve French navigation URLs - Replace special characters in French URLs to prevent encoding issues * fix: resolve linting issues across JavaScript and CSS - Fix ESLint errors in mobile-menu.js: spacing and formatting * Implement GDPR compliance and fix font sizing issues - Add comprehensive GDPR compliance features: * Self-hosted fonts (Raleway, Lato, Hind) to replace Google Fonts API * Cookie consent banner with proper transparency and styling * GDPR-compliant Google Analytics implementation * Comprehensive privacy policy pages with HOT OSM-based content * Multilingual privacy policy support (EN, FR, ES, CS) * Section linking with anchor navigation for privacy policy - Fix typography and font sizing inconsistencies: * Establish proper base font-size (16px) on html element * Create consistent heading hierarchy (h1-h6) with responsive scaling * Convert all hardcoded pixel font sizes to rem units * Standardize component font sizes across blog, landing, and base styles * Implement proper rem-based typography system for better accessibility - Code organization improvements: * Move cookie consent styles to dedicated SCSS file * Organize font declarations in separate _fonts.scss * Improve SCSS architecture and maintainability Closes #387 * Resolve Dependabot security updates - Update GitHub Actions to latest versions: * actions/checkout@v5 * actions/setup-node@v5 * actions/configure-pages@v5 * actions/upload-pages-artifact@v4 * actions/download-artifact@v5 - Update npm dependencies and fix PostCSS vulnerability - Fix 3 moderate severity npm vulnerabilities - Prepare Jekyll update to 4.4.1 (pending native extension fixes) This resolves multiple Dependabot security alerts and brings dependencies up to their latest secure versions. * Complete Dependabot security updates - npm and GitHub Actions - Updated all npm dependencies to resolve 3 moderate PostCSS vulnerabilities - Upgraded all GitHub Actions workflows to v5 versions (checkout@v5, setup-node@v5, configure-pages@v5, etc.) - Fixed Gulp build compatibility with newer gulp-autoprefixer and gulp-zip ES modules using dynamic imports - Reverted Jekyll from 4.4.1 to stable 4.3.4 to avoid native extension compilation issues on macOS - Copied Foundation Sites util/ directory locally to resolve SCSS import path issues - All npm security vulnerabilities now resolved (0 vulnerabilities) - GitHub Actions deprecation warnings eliminated - Build process fully functional with updated dependencies * Fix SCSS compilation in build pipeline - Change styles function to compile main.scss entry point instead of wildcard pattern - Resolves issue where CSS files were not being generated in .tmp directory - Fixes timing issue in copyAssets where CSS files were missing - Adds comprehensive logging to copyAssets and styles functions - Creates buildAssets intermediate task for proper dependency sequencing - Ensures development server serves site with proper CSS styling * Fix formatting and indentation in Czech translation file (cs.yml) * Add workspace file to .gitignore * Update documentation: modernize README, enhance internationalization guide, streamline quick reference - README.md: Add status badges, Czech translation completion, branch info - INTERNATIONALIZATION.md: Remove outdated get_locale.html references, update to Jekyll Polyglot standards - QUICK-REFERENCE.md: Remove translation details (moved to INTERNATIONALIZATION.md), focus on dev workflow - .github/README.md: Update workflow documentation with current CI/CD processes * Fix GitHub Actions deployment workflow - Remove duplicate checkout steps in deploy job - Fix artifact download version mismatch (use @v4 consistently) - Add verification step to check for empty _site directory - Improve error handling for missing build artifacts This should resolve most recent build error --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dale Kunce <[email protected]>
1 parent 73af20f commit 7037a55

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.github/workflows/deploy.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,27 +62,29 @@ jobs:
6262
token: ${{ secrets.GITHUB_TOKEN }}
6363
fetch-depth: 0
6464

65-
- name: Checkout master branch
66-
uses: actions/checkout@v4
67-
with:
68-
ref: master
69-
token: ${{ secrets.GITHUB_TOKEN }}
70-
fetch-depth: 0
71-
7265
- name: Download build artifacts
73-
uses: actions/download-artifact@v5
66+
uses: actions/download-artifact@v4
7467
with:
7568
name: site-build
7669
path: _site/
7770

71+
- name: Verify build artifacts
72+
run: |
73+
echo "Checking _site directory contents:"
74+
ls -la _site/ || echo "No _site directory found"
75+
if [ ! -d "_site" ] || [ -z "$(ls -A _site)" ]; then
76+
echo "Error: _site directory is empty or missing"
77+
exit 1
78+
fi
79+
7880
- name: Deploy to master branch
7981
run: |
8082
# Configure git
8183
git config --local user.email "[email protected]"
8284
git config --local user.name "GitHub Action"
8385
84-
# Remove all files except .git
85-
find . -maxdepth 1 ! -name '.git' ! -name '.' ! -name '..' -exec rm -rf {} +
86+
# Remove all files except .git and _site
87+
find . -maxdepth 1 ! -name '.git' ! -name '.' ! -name '..' ! -name '_site' -exec rm -rf {} +
8688
8789
# Copy built site files to root
8890
cp -r _site/* .

0 commit comments

Comments
 (0)