This repository contains the source of the okdp.io website, featuring:
- Marketing landing page;
- Documentation;
- i18n (FR/EN) support.
npm install
npm run devnpm run build
npm run previewTo let contributors share a live preview without deploying anything in the upstream OKDP organization, the repository includes a fork-only GitHub Actions workflow in .github/workflows/preview.yml.
- it runs on every push to a non-
masterbranch in a fork - it publishes the built site to the fork's
gh-pagesbranch underpreviews/<branch-slug>/ - it is skipped automatically in the upstream
OKDP/okdp.iorepository - it removes the production
CNAMEfile before publishing, so a fork preview never tries to claimokdp.io
- Fork
OKDP/okdp.io - In the fork, enable GitHub Actions if prompted
- In Settings → Pages, configure GitHub Pages to deploy from the
gh-pagesbranch (root) - Push your feature branch to the fork
Your preview will then be available at:
https://<fork-owner>.github.io/<fork-repo-name>/previews/<branch-slug>/
When opening a pull request against upstream, you can paste that preview URL into the PR description.
- Organization: TOSIT Association
- Communication: Github discussion
