swb 057b1512ab 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-16 16:52:06 +01:00
2022-06-22 11:04:59 +10:00
2023-01-19 15:25:32 +01:00
2022-06-22 11:04:59 +10:00
2022-06-22 11:04:59 +10:00
2023-02-28 15:25:28 +11:00
2023-02-14 09:40:08 +11:00
2023-03-16 16:52:06 +01:00
2023-02-14 09:40:08 +11:00
2023-02-14 09:40:08 +11:00
2023-01-19 15:25:32 +01:00
2023-02-14 09:40:08 +11:00
2023-03-16 16:52:06 +01:00
2023-01-19 15:25:32 +01:00
2023-01-19 15:25:32 +01:00

Waku.org

Description

Content of https://waku.org website.

Practical notes

  • Please keep this repo clean and for markdown content ONLY
  • In case you have any issue with rendering, how website looks, etc, please file an issue on logos website builder.

Continuous Integration

  • master branch is deployed to https://waku.org by CI.
  • develop branch is deployed to https:/dev.waku.org by CI.

Format & spelling checks

Format and spelling checks are done via npm commands.

Installation:

yarn

This will automatically install a git hook to format and check spelling at commit time. You can also trigger the commands manually:

Fix format:

yarn fix

Check spelling and format:

yarn check

Change Process

  1. Create a new working branch from develop: git checkout develop; git checkout -b my-changes,
  2. Proceed with changes, push to origin and open a Pull Request against develop,
  3. Once approved, merge pull request, check changes on dev.waku.org,
  4. Once ready to promote to live website, rebase master on develop: git checkout master; git pull master; git rebase origin/develop; git push.
Description
Languages
MDX 90.9%
JavaScript 5.6%
SCSS 2.7%
TypeScript 0.6%
Shell 0.2%