From fafe678d868da9591c7ca27c711a613a1d6c747a Mon Sep 17 00:00:00 2001 From: Kouji Takao Date: Tue, 24 Feb 2026 21:46:52 +0900 Subject: [PATCH] ci: disable GitHub Pages deployment and mark repository as obsolete - Remove all GitHub Pages deploy steps from CI/CD workflow. The gh-pages branch now serves redirect pages to smalruby.app and should not be overwritten by future CI runs. - Add deprecation notice to README.md pointing to smalruby/smalruby3-editor as the successor repository. Closes smalruby/smalruby3-editor#179 Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/ci-cd.yml | 72 ------------------------------------- README.md | 9 +++++ 2 files changed, 9 insertions(+), 72 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index d024df688ac..fdb943c3029 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -135,75 +135,3 @@ jobs: if [[ ${{ contains(github.ref, 'hotfix') }} == 'true' ]]; then sed -e "s|hotfix/REPLACE|${{ github.ref_name }}|" --in-place release.config.js fi - - name: Prepare deployment files - if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' - run: touch build/.nojekyll - - name: Rebuild for smalruby3-gui GitHub Pages - if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' - env: - PUBLIC_PATH: /smalruby3-gui/ - GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }} - GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }} - MESH_GRAPHQL_ENDPOINT: ${{ secrets.MESH_GRAPHQL_ENDPOINT }} - MESH_API_KEY: ${{ secrets.MESH_API_KEY }} - MESH_AWS_REGION: ${{ secrets.MESH_AWS_REGION }} - run: npm exec node ./scripts/postbuild.mjs - - name: Prepare deployment files for smalruby3-gui GitHub Pages - if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' - run: rm -f build/CNAME - - name: Deploy playground to GitHub Pages - uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3 - if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./build - full_commit_message: "Build for ${{ github.sha }} ${{ github.event.head_commit.message }}" - - name: Set branch name - id: branch - run: echo "BRANCH_NAME=${{ github.head_ref || github.ref_name }}" >> $GITHUB_OUTPUT - - name: Rebuild for branch GitHub Pages - if: | - (!( - github.ref == 'refs/heads/develop' || - github.ref == 'refs/heads/master' || - github.ref == 'refs/heads/main' || - startsWith(github.ref, 'refs/heads/hotfix/') || - startsWith(github.ref, 'refs/heads/dependabot/') || - startsWith(github.ref, 'refs/heads/renovate/') - )) - env: - PUBLIC_PATH: /smalruby3-gui/${{ steps.branch.outputs.BRANCH_NAME }}/ - GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }} - GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }} - MESH_GRAPHQL_ENDPOINT: ${{ secrets.MESH_GRAPHQL_ENDPOINT }} - MESH_API_KEY: ${{ secrets.MESH_API_KEY }} - MESH_AWS_REGION: ${{ secrets.MESH_AWS_REGION }} - run: npm exec node ./scripts/postbuild.mjs - - name: Prepare deployment files for branch GitHub Pages - if: | - (!( - github.ref == 'refs/heads/develop' || - github.ref == 'refs/heads/master' || - github.ref == 'refs/heads/main' || - startsWith(github.ref, 'refs/heads/hotfix/') || - startsWith(github.ref, 'refs/heads/dependabot/') || - startsWith(github.ref, 'refs/heads/renovate/') - )) - run: touch build/.nojekyll - - name: Deploy playground to GitHub Pages for branch - if: | - (!( - github.ref == 'refs/heads/develop' || - github.ref == 'refs/heads/master' || - github.ref == 'refs/heads/main' || - startsWith(github.ref, 'refs/heads/hotfix/') || - startsWith(github.ref, 'refs/heads/dependabot/') || - startsWith(github.ref, 'refs/heads/renovate/') - )) - uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./build - full_commit_message: "Build for ${{ steps.branch.outputs.BRANCH_NAME }} (${{ github.sha }}) ${{ github.event.head_commit.message }}" - destination_dir: ${{ steps.branch.outputs.BRANCH_NAME }} - keep_files: true diff --git a/README.md b/README.md index 2dc741a87ec..51175de7c88 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,13 @@ # smalruby3-gui + +> **⚠️ このリポジトリは非推奨です (This repository is obsolete)** +> +> このリポジトリは [smalruby/smalruby3-editor](https://github.com/smalruby/smalruby3-editor) に統合されました。 +> 今後の開発・利用はそちらをご参照ください。 +> +> This repository has been superseded by [smalruby/smalruby3-editor](https://github.com/smalruby/smalruby3-editor). +> Please use that repository for all future development and usage. + #### Smalruby3 GUI is a set of React components that comprise the interface for creating and running Smalruby 3.0 projects. It forked from [LLK/scratch-gui](https://github.com/LLK/scratch-gui) . [![Introduce Smalruby 3 based Scratch 3.0](https://img.youtube.com/vi/UNkinwLk6uQ/0.jpg)](https://www.youtube.com/watch?v=UNkinwLk6uQ)