From ad2a2cdd32ac61680f570ecd86aa29c8ca086bd4 Mon Sep 17 00:00:00 2001 From: Richie Permana Date: Sat, 22 Nov 2025 02:02:10 +0800 Subject: [PATCH 1/2] cicd: only deploy on main branch --- .github/workflows/deploy-docs.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index b3c7224..82eefd3 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -57,15 +57,13 @@ jobs: deploy-docs: name: Deploy Docs needs: build + if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest steps: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 - with: - # If on development branch, deploy as preview - preview: ${{ github.ref_name == 'development' }} - name: Show deployed URL run: | From 515016fb7fec3cffb4594e160970f9ea801dcbe1 Mon Sep 17 00:00:00 2001 From: Richie Permana Date: Sat, 22 Nov 2025 02:03:23 +0800 Subject: [PATCH 2/2] feat: pushed `.changeset/` folder and config --- .changeset/README.md | 8 ++++++++ .changeset/config.json | 11 +++++++++++ .gitignore | 2 +- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .changeset/README.md create mode 100644 .changeset/config.json diff --git a/.changeset/README.md b/.changeset/README.md new file mode 100644 index 0000000..e5b6d8d --- /dev/null +++ b/.changeset/README.md @@ -0,0 +1,8 @@ +# Changesets + +Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works +with multi-package repos, or single-package repos to help you version and publish your code. You can +find the full documentation for it [in our repository](https://github.com/changesets/changesets) + +We have a quick list of common questions to get you started engaging with this project in +[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) diff --git a/.changeset/config.json b/.changeset/config.json new file mode 100644 index 0000000..d88011f --- /dev/null +++ b/.changeset/config.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json", + "changelog": "@changesets/cli/changelog", + "commit": false, + "fixed": [], + "linked": [], + "access": "restricted", + "baseBranch": "main", + "updateInternalDependencies": "patch", + "ignore": [] +} diff --git a/.gitignore b/.gitignore index a094206..9e4003c 100644 --- a/.gitignore +++ b/.gitignore @@ -31,7 +31,7 @@ yarn-error.log* Thumbs.db # Changesets -.changeset/ +# .changeset/ # Testing coverage/