From 2f2fd5c0552ccf29624ffa231a22a81b4870de20 Mon Sep 17 00:00:00 2001 From: Shade4827 Date: Sat, 29 Nov 2025 16:18:15 +0900 Subject: [PATCH 1/3] =?UTF-8?q?base=20URL=E3=82=92=E8=A8=AD=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.config.ts b/vite.config.ts index 4217010..73a4337 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -6,6 +6,7 @@ import vueDevTools from 'vite-plugin-vue-devtools' // https://vite.dev/config/ export default defineConfig({ + base: '/SchemeDraw/', plugins: [ vue(), vueDevTools(), From 5992be10857cebce7d154c49c69dcc1647636c22 Mon Sep 17 00:00:00 2001 From: Shade4827 Date: Sat, 29 Nov 2025 16:18:50 +0900 Subject: [PATCH 2/3] =?UTF-8?q?GitHub=20Actions=E3=81=A7=E3=81=AE=E3=83=87?= =?UTF-8?q?=E3=83=97=E3=83=AD=E3=82=A4=E8=A8=AD=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 55 ++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..ae7de42 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,55 @@ +name: Deploy to GitHub Pages + +on: + push: + branches: + - main + - deploy_setting + pull_request: + branches: + - main + - deploy_setting + +jobs: + build-and-deploy: + runs-on: ubuntu-latest + + permissions: + contents: read + pages: write + id-token: write + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '22' + cache: 'yarn' + + - name: Install dependencies + run: yarn install --frozen-lockfile + + - name: Type check + run: yarn type-check + + - name: Lint + run: yarn lint + + - name: Build + run: yarn build + + - name: Setup Pages + uses: actions/configure-pages@v4 + + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + path: './dist' + + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 + if: github.ref == 'refs/heads/main' From b102f4f302f0afc0d2ad7671bd0079add0b66eac Mon Sep 17 00:00:00 2001 From: Shade4827 Date: Sat, 29 Nov 2025 16:23:49 +0900 Subject: [PATCH 3/3] =?UTF-8?q?=E5=8B=95=E4=BD=9C=E7=A2=BA=E8=AA=8D?= =?UTF-8?q?=E3=81=A7=E3=81=8D=E3=81=9F=E3=81=9F=E3=82=81=E5=AF=BE=E8=B1=A1?= =?UTF-8?q?=E3=81=8B=E3=82=89=E3=81=93=E3=81=AE=E3=83=96=E3=83=A9=E3=83=B3?= =?UTF-8?q?=E3=83=81=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ae7de42..cd22f6a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,11 +4,9 @@ on: push: branches: - main - - deploy_setting pull_request: branches: - main - - deploy_setting jobs: build-and-deploy: