diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 89eefd9..5e219bf 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -27,5 +27,5 @@ jobs:
     - name: Deploy to GitHub Pages
       uses: peaceiris/actions-gh-pages@v3
       with:
-        github_token: ${{ secrets.GITHUB_TOKEN }}
+        personal_token: ${{ secrets.GH_TOKEN }}
         publish_dir: ./dist
diff --git a/package.json b/package.json
index 8b5496a..c7465c2 100644
--- a/package.json
+++ b/package.json
@@ -5,6 +5,7 @@
         "dev": "vite",
         "build": "vite build",
         "preview": "vite preview",
+        "predeploy": "npm run build",
         "deploy": "gh-pages -d dist"
     },
     "dependencies": {
@@ -24,7 +25,7 @@
     },
     "devDependencies": {
         "@vitejs/plugin-vue": "^4.1.0",
-        "gh-pages": "^4.0.0",
+        "gh-pages": "^6.0.0",
         "http-server": "^14.1.1",
         "vite": "^4.5.3",
         "vite-plugin-vuetify": "^1.0.0-alpha.12",