Commit Graph

22 Commits

Author SHA1 Message Date
swb d965c426c9
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.
2023-03-21 18:08:37 +00:00
amirhouieh 803c8394f4 remove vercel actions 2023-03-17 12:21:15 +01:00
Jakub 4d9b031fad
Merge pull request #6 from vacp2p/jenkins-ci
add jenkinsfile and CNAME file
2023-03-16 15:00:49 +01:00
swb cb91201725
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.
We checkout the builder into the `builder` directory and run
the `install` and `build` commands inside of that directory.
Finally, for publish stages, we copy the `out` directory into
the site repo, since the out directory is in the wrong repo.
2023-03-15 20:56:39 +00:00
oskarth b60935b5a1 Remove index file 2022-11-23 16:41:54 +08:00
oskarth fa2a14b565 Initial cut of RLNP2P site 2022-11-23 16:37:56 +08:00
amir houieh 84bc84b522
Merge pull request #5 from vacp2p/staging
Update README.md
2022-11-22 11:46:20 +01:00
amir houieh 60a2913951
Update README.md 2022-11-22 11:44:21 +01:00
amir houieh 3a95deffaa
Merge pull request #4 from vacp2p/rlnp2p-landingpage
Rlnp2p landingpage
2022-11-22 11:41:52 +01:00
amir houieh 0cade7178e
Merge pull request #3 from vacp2p/staging
Staging
2022-11-22 11:41:32 +01:00
amir houieh 96fca0c2d2
Merge pull request #2 from vacp2p/master
Update README.md
2022-11-22 11:40:32 +01:00
amir houieh 7b404a199d
Update README.md 2022-11-22 11:40:04 +01:00
amir houieh 64974ffa18
Update README.md 2022-11-22 11:39:49 +01:00
amir houieh a678a64176
Update README.md 2022-11-22 11:38:34 +01:00
sanaz b3c7819bb9
adds the landing page 2022-11-21 16:35:37 -08:00
amir houieh 6a8a4b6c07
Delete research directory 2022-11-21 15:25:43 +01:00
amir houieh d274200006
Update config.json 2022-11-21 15:25:27 +01:00
amir houieh d39cca4e68
Delete about.md 2022-11-21 15:24:19 +01:00
amir houieh 3d7cb18b3f
Add files via upload 2022-11-21 15:12:00 +01:00
amir houieh 161b2e8484
Merge pull request #1 from amirhouieh/patch-1
Update deployment-production.yml
2022-11-21 15:11:23 +01:00
amir houieh 76413b9474
Update deployment-production.yml 2022-11-21 15:10:13 +01:00
oskarth f125b26c22
Initial commit 2022-11-21 10:22:35 +08:00