Skip to content

Commit 9be0bc1

Browse files
committed
The version of action we are using is out of date and github pages deploy fails, so we updated it.
1 parent 0c88992 commit 9be0bc1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/docs/ja/guides/deploy/github.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ Astroは公式の`withastro/action`を保守しており、ほとんど設定す
6868
- name: Checkout your repository using git
6969
uses: actions/checkout@v4
7070
- name: Install, build, and upload your site
71-
uses: withastro/action@v1
71+
uses: withastro/action@v3
7272
# with:
7373
# path: . # リポジトリ内のAstroプロジェクトのルートロケーション。(オプション)
74-
# node-version: 18 # サイト構築に使用するNodeのバージョン。デフォルトは18です。(オプション)
74+
# node-version: 20 # サイト構築に使用するNodeのバージョン。デフォルトは20です。(オプション)
7575
# package-manager: pnpm@latest # 依存関係のインストールとサイトのビルドに使用する Node パッケージマネージャ。ロックファイルに基づいて自動的に検出されます。(オプション)
7676

7777
deploy:
@@ -83,7 +83,7 @@ Astroは公式の`withastro/action`を保守しており、ほとんど設定す
8383
steps:
8484
- name: Deploy to GitHub Pages
8585
id: deployment
86-
uses: actions/deploy-pages@v1
86+
uses: actions/deploy-pages@v4
8787
```
8888
8989
:::note

0 commit comments

Comments
 (0)