diff --git a/.gitea/workflows/build-dist.yaml b/.gitea/workflows/build-dist.yaml
index 2851053..8012598 100644
--- a/.gitea/workflows/build-dist.yaml
+++ b/.gitea/workflows/build-dist.yaml
@@ -23,11 +23,26 @@ jobs:
 
       - name: Build
         run: bun run build
-    
-      - name: Push
-        uses: s0/git-publish-subdir-action@develop
-        env:
-          REPO: git@10.0.0.5:3030:z0x/z0x.ca.git
-          BRANCH: build
-          FOLDER: dist
-          SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_PRIVATE_KEY }}
+
+      - name: Checkout build branch
+        uses: actions/checkout@v4
+        with:
+          ref: build
+          path: build
+
+      - name: Copy dist to build branch
+        run: |
+          mkdir -p build/dist
+          cp -R dist/* build/dist/
+
+      - name: Configure Git
+        run: |
+          git config --local user.name "gitea-actions[bot]"
+          git config --local user.email "gitea-actions[bot]@git.z0x.ca"
+
+      - name: Commit and Push changes
+        run: |
+          cd build
+          git add .
+          git commit -m "ci(dist): build dist" || echo "No changes to commit"
+          git push origin build