diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4685ebd..d627728 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -30,8 +30,17 @@ Use `GITHUB_TOKEN` or `GH_TOKEN` to avoid low GitHub API rate limits. ## Pull Request Guidelines +- Target all contribution pull requests to `main`. +- Do not target `release`; organization members use it only to promote a tested + `main` commit to production. - Keep changes focused. - Prefer Astro components in `src/components` over large page-only markup. - Keep internal links compatible with GitHub Pages base paths by using `withBase()`. - Run `npm run build` and include the result in the PR description. - For content or roadmap changes, link the relevant issue or discussion. + +## Production Release + +The `release` branch is reserved for Cloudflare production deployments. Only +IndopenSource organization members may update it, through a pull request from +`main` that passes CI and receives approval. diff --git a/README.md b/README.md index 21bb92c..ddba074 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,9 @@ URL produksi setelah custom domain aktif adalah `https://indopensource.org/`. ## Deployment -GitHub Pages memakai workflow `.github/workflows/deploy-pages.yml`. +Deployment saat ini masih memakai GitHub Pages melalui workflow +`.github/workflows/deploy-pages.yml`. Cloudflare production berikutnya akan +dibangun dari branch `release`. - Build command: `npm run build` - Output directory: `dist` @@ -71,8 +73,9 @@ GitHub Pages memakai workflow `.github/workflows/deploy-pages.yml`. - Custom domain: `indopensource.org` - Pages base path: `/` -Aktifkan Pages di repository settings dengan source `GitHub Actions`, lalu push ke -`main` atau jalankan workflow `Deploy to GitHub Pages` secara manual. +Semua kontribusi tetap masuk ke `main`. Rilis produksi dipromosikan oleh anggota +organisasi melalui pull request dari `main` ke `release`; jangan membuka pull +request kontribusi langsung ke `release`. ## Project Sync