Skip to content

release: version 0.1.0 - #4

Merged
expectpin merged 6 commits into
mainfrom
develop
Aug 30, 2025
Merged

release: version 0.1.0#4
expectpin merged 6 commits into
mainfrom
develop

Conversation

@expectpin

Copy link
Copy Markdown
Owner

This pull request refactors the project to use the name WeddingInvitation instead of Wedding, improves the CI/CD pipeline for GitHub Pages deployment, enhances environment variable handling for production builds, and updates configuration and code for better maintainability and clarity. It also removes unused background images from styles and updates some content for clarity.

Project Renaming and Configuration Updates

  • Renamed the Angular project from Wedding to WeddingInvitation in angular.json, including all build and serve targets. [1] [2]
  • Updated package.json to reflect the new name weddinginvitation and bumped the version to 0.1.0.

CI/CD and Deployment Pipeline Improvements

  • Modified .github/workflows/deploy.yml to only trigger on the main branch, updated step names, and upgraded actions to latest versions. Artifact upload path changed to match new build output. [1] [2] [3]
  • Moved test execution before build and removed redundant environment setup steps for CI.

Environment Variable and Build Enhancements

  • Improved scripts/replace-env.js to set up environment files for development and production, with detailed logging and safer fallback values. Now applies secrets directly to environment.prod.ts. [1] [2]
  • Updated angular.json to use file replacements for production builds, ensuring the correct environment file is used.

Content and Styling Updates

  • Updated src/environments/environment.prod.ts with improved messages and clarified comments about automatic secret replacement. [1] [2]
  • Removed unused background image CSS from src/styles.css to clean up styling and reduce asset usage. [1] [2] [3] [4] [5] [6]
  • Fixed template binding in src/app/app.html for gift information to avoid null checks.

…ucture

- Change path from ./dist/Wedding to ./dist/Wedding/browser
- Fix 404 error on GitHub Pages deployment
- Ensure index.html is in root of deployed site
- Change base-href from /Wedding/ to /WeddingInvitation/
- Ensure correct routing for GitHub Pages deployment
- Match actual repository name for proper asset loading
@expectpin expectpin self-assigned this Aug 30, 2025
@expectpin expectpin added the enhancement New feature or request label Aug 30, 2025
@expectpin
expectpin merged commit 95df2cd into main Aug 30, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant