Commit Graph

7 Commits

Author SHA1 Message Date
swb 9270622c55
add jenkinsfile 2023-06-01 21:22:28 +01:00
jinhojang6 5fb806a19f BREAKING CHANGE: implement docusaurus 2023-06-01 21:21:05 +09:00
swb aacb94052c
fix: CNAME file issue
CNAME file was located in ./static-assets, but it should be in the
`out` directory after the build stage because the `out` folder was
created in the `build` stage.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-03-21 17:46:37 +01:00
Jakub Sokołowski 16f59a793b
ci: fix repo used to publish to gh-pages
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-03-14 19:14:41 +01:00
Jakub Sokołowski 8a8d681e87
ci; fix output folder from public to out
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-03-14 19:02:34 +01:00
Jakub Sokołowski c074087f92
ci: fix publish steps by adding builder folder
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-03-14 18:49:46 +01:00
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