diff --git a/.github/workflows/api-docs.yml b/.github/workflows/api-docs.yml
index d4c4f0d..97cd17c 100644
--- a/.github/workflows/api-docs.yml
+++ b/.github/workflows/api-docs.yml
@@ -2,6 +2,9 @@ name: API Documentation
 
 on: [push, workflow_dispatch]
 
+permissions:
+  contents: write
+
 jobs:
   deploy:
     runs-on: ubuntu-latest
@@ -36,13 +39,12 @@ jobs:
 
       - name: Create .nojekyll (ensures pages with underscores work on gh pages)
         shell: bash
-        run: touch doc/html/.nojekyll
+        run: touch build/doc/html/.nojekyll
 
       - name: Deploy to GitHub Pages
         uses: JamesIves/github-pages-deploy-action@v4
         with:
-          token: ${{ secrets.GITHUB_TOKEN }}
           branch: gh-pages
-          folder: doc/html
+          folder: build/doc/html
           # target-folder: /
 
diff --git a/.github/workflows/cmake.yml b/.github/workflows/build-and-test.yml
similarity index 96%
rename from .github/workflows/cmake.yml
rename to .github/workflows/build-and-test.yml
index 0bdeb4c..db2c8fb 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/build-and-test.yml
@@ -1,4 +1,4 @@
-name: CMake
+name: Build and Test
 
 on: [push, workflow_dispatch]
 
@@ -18,7 +18,7 @@ jobs:
         - os: windows-latest
 
     steps:
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
 
     - name: Create Build Environment
       run: cmake -E make_directory build