From 50b52530a1304b123ead3897dfce2277c8e17f41 Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: 2025年7月26日 00:17:25 +0900 Subject: [PATCH] Config Fix --- .eslintignore | 1 - .eslintrc.json | 11 ----------- .github/workflows/build.yml | 35 ++++++++++++++++++++++------------- 3 files changed, 22 insertions(+), 25 deletions(-) delete mode 100644 .eslintignore delete mode 100644 .eslintrc.json diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index ca441ef..0000000 --- a/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -*.min.* diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index a873810..0000000 --- a/.eslintrc.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "root": true, - "env": { - "es6": true, - "node": true - }, - "extends": ["eslint:recommended"], - "rules": { - "no-undef": "off" - } -} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ded73fb..5306b5d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,25 +1,34 @@ -name: Website +name: "Deploy to GitHub Pages" on: pull_request: push: + branches: + - main workflow_dispatch: +# Allow this job to clone the repo and create a page deployment +permissions: + contents: read + pages: write + id-token: write + jobs: build: runs-on: ubuntu-latest steps: - name: ⬇️ Checkout uses: actions/checkout@v4 - - - name: ⎔ Setup node - uses: actions/setup-node@v4 - with: - cache: npm - cache-dependency-path: package-lock.json - - - name: 📥 Download deps - run: npm ci - - - name: Run build - run: npm run build + - name: Install, build, and upload your site + uses: withastro/action@v3 +` + deploy: + needs: build + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4

AltStyle によって変換されたページ (->オリジナル) /