Commit Graph

5 Commits

Author SHA1 Message Date
swb 752ba443b4
add jenkinsfile and CNAME file
The current implementation of the site builder requires content
repo to be submited as a zip file for production using env vars
`CONTENT_SOURCE_TYPE=git` and `CONTENT_SOURCE_URL=repo-link.zip`
which is not considered a best practice. Due to this, a race
condition may occur during the build process if another commit
is made while the build is in progress which may lead a security
flow. To work around this,first, we checkout into `src` using
`checkoutToSubdirectory('src')`. Then, we use `local_folder`
mode using `CONTENT_SOURCE_TYPE=local_folder` and
`CONTENT_SOURCE_URL=..src` env vars, just like a local develop.
`local_folder` mode copies the website files from `src` into
`docs` because the site builder is incapable of copying it.
Finally, we checkout the builder into the `builder` directory
and we run the `install` and `build` commands inside of that
directory.
2023-03-13 16:38:59 +00:00
Corey 62cb1e62a3 moved image to static_assets 2022-06-10 11:24:24 -04:00
amirhouieh 51ade2e0b8 refactoring and add seo fields to config 2022-05-25 14:42:09 +02:00
amirhouieh a20c42e30a init 2022-05-20 13:30:19 +02:00
amir houieh 3e459459d7 Initial commit 2022-05-20 13:27:22 +02:00