From ef956fed3cd7679a833731d7b43bb528cb7ac152 Mon Sep 17 00:00:00 2001 From: Ken Honda Date: Thu, 4 Jul 2024 17:12:54 +0900 Subject: [PATCH] fix: fix deploy.yml --- .github/workflows/deploy.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 797a4d6..02acfba 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,14 +1,11 @@ name: Deploy to GitHub Pages on: - # `main` ブランチにプッシュするたびにワークフローを実行します - # 異なるブランチ名を使用する場合は、`main` をブランチ名に置き換えてください push: branches: [main] - # このワークフローを GitHub の Actions タブから手動で実行できるようにします。 + workflow_dispatch: -# このジョブがリポジトリをクローンし、ページデプロイメントを作成することを許可します。 permissions: contents: read pages: write @@ -23,10 +20,6 @@ jobs: - name: Install, build, and upload your site uses: pnpm/action-setup@v4 - # with: - # path: . # リポジトリ内のAstroプロジェクトのルートロケーション。(オプション) - # node-version: 18 # サイト構築に使用するNodeのバージョン。デフォルトは18です。(オプション) - # package-manager: pnpm@latest # 依存関係のインストールとサイトのビルドに使用する Node パッケージマネージャ。ロックファイルに基づいて自動的に検出されます。(オプション) deploy: needs: build @@ -37,4 +30,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v3