diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml
index 7c9b9efb384f59a62182ee76d7ab6980b22aa5d4..6f6cba46d2658dc1bb5544979bf1b3052c27da57 100644
--- a/.github/workflows/gh-pages.yml
+++ b/.github/workflows/gh-pages.yml
@@ -2,7 +2,7 @@ name: Build and deploy to GitHub Pages
 
 on:
   push:
-    branches: [ main ]
+    branches: [main]
 
 jobs:
   build-and-deploy:
@@ -11,10 +11,10 @@ jobs:
       - name: Checkout 🛎️
         uses: actions/checkout@v2.3.1
 
-      - name: Install and Build 🔧 
+      - name: Install and Build 🔧
         run: |
           npm install
-          npm run dist
+          npm run build
 
       - name: Deploy 🚀
         uses: JamesIves/github-pages-deploy-action@4.1.0