Skip to content

Commit

Permalink
fix: fix deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
knhnd committed Jul 4, 2024
1 parent c47bf4d commit ef956fe
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
name: Deploy to GitHub Pages

on:
# `main` ブランチにプッシュするたびにワークフローを実行します
# 異なるブランチ名を使用する場合は、`main` をブランチ名に置き換えてください
push:
branches: [main]
# このワークフローを GitHub の Actions タブから手動で実行できるようにします。

workflow_dispatch:

# このジョブがリポジトリをクローンし、ページデプロイメントを作成することを許可します。
permissions:
contents: read
pages: write
Expand All @@ -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
Expand All @@ -37,4 +30,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v3

0 comments on commit ef956fe

Please sign in to comment.