diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml
index 1dac134..5289625 100644
--- a/.github/workflows/github-pages.yml
+++ b/.github/workflows/github-pages.yml
@@ -22,7 +22,7 @@ jobs:
         run: |
           brew bundle
           mdbook build
-      - uses: actions/upload-pages-artifact@v2
+      - uses: actions/upload-pages-artifact@v3
         with:
           path: book
-      - uses: actions/deploy-pages@v2
+      - uses: actions/deploy-pages@v4