Commit graph

13 commits

Author SHA1 Message Date
e2d35c7893
feat(build): add theme parameter to static site generator
Included a --theme pride parameter to the generate static site
command in the build workflow. This allows theme customization
during site generation, enhancing site appearance and flexibility.
2024-09-24 08:15:07 +02:00
2d602bdc56
feat: add CI for building and deploying Pride theme site
Set up a new GitHub Actions workflow to automate the build and deployment of the static site with the Pride theme on pushes to the main branch. This includes checking out the repository, installing dependencies, generating the site, and deploying to a new 'pages-pride' branch.

Ensures streamlined and consistent deployment aligned with updates.
2024-09-24 08:04:46 +02:00
b27ace9cb0
feat(build): add dev flag to static site generation
Updated the build-dev CI workflow to run the static site generation with a development flag. This ensures the build script runs in the appropriate context for development environments. No issues referenced.
2024-07-01 10:47:28 +02:00
0b0f8bb3b2
fix(build): ensure .gitignore is included in temp site
Added copying of .gitignore to the temporary static site location in both development and production build scripts. This prevents unnecessary files from being included in the new orphan branches, ensuring a cleaner and more efficient build process.
2024-07-01 10:37:42 +02:00
1434a3b552
Merge branch 'main' into dev 2024-07-01 10:34:24 +02:00
1c9e1d6c68
fix(ci): force push to 'pages-dev' branch in build-dev workflow
Changed the force push target from 'pages' to 'pages-dev' to ensure the dev build process does not interfere with the production pages. This helps maintain a clear separation between development and production environments, reducing the risk of unintentional overwrites.
2024-07-01 10:34:16 +02:00
9030c527ef
Merge branch 'main' into dev 2024-07-01 10:28:54 +02:00
ae2742ca58
chore(ci): rename build workflow and update branch targets
Renamed 'build.yml' to 'build-dev.yml' to clarify its purpose for development builds. Updated branch triggers and orphan branch naming to 'dev' and 'pages-dev' respectively to distinguish development deployment processes from production. This enhances workflow clarity and separation of concerns in CI/CD practices.
2024-07-01 10:27:21 +02:00
d337e8a207
feat(ci): automate build and deploy for dev and main branches
- Added a new GitHub Actions workflow for the development branch to build and deploy the static site.
- Modified the existing workflow to trigger on the main branch instead of the static branch.
- Refactored the main.py script for consistency in string quotation.

The new workflow simplifies deployment processes during development, ensuring seamless and automated integration and testing.
2024-07-01 10:24:24 +02:00
22cea7ea5c
fix(build): simplify Python package installation
Condensed the installation commands to streamline the setup process. Removed redundant pip upgrade step to avoid potential conflicts and expedite build workflow. No change to the overall functionality or dependency management.
2024-07-01 10:07:32 +02:00
61ccd25ab5
fix(build): correct Python command invocations for build
Updated the build script to use `python3` and `pip3` commands, ensuring compatibility with environments where Python 2 might be the default. Also added `--break-system-packages` flag to `pip3` install to handle specific package installations without breaking the environment.
2024-07-01 10:04:05 +02:00
7d23e465e2
fix(build): switch to container for build jobs
Replaces `runs-on` with `container` to utilize a Docker container
for node:20-bookworm. This enhances consistency and reproducibility
by standardizing the build environment across different runs.
2024-07-01 09:59:48 +02:00
d03828724f
feat(workflows): add CI/CD pipeline for static site
Set up a GitHub Actions workflow to build and deploy the static site from the 'static' branch to the 'pages' branch. This workflow includes steps to install dependencies, generate the static site using Python, and handle deployment through Git configuration and git commands.
2024-07-01 09:58:59 +02:00