dms #1

Merged
jay merged 56 commits from dms into main 2026-03-24 20:14:09 +00:00
Showing only changes of commit 3b64218fe5 - Show all commits

View File

@@ -25,22 +25,20 @@ jobs:
- name: Deploy to docs-static Branch - name: Deploy to docs-static Branch
run: | run: |
git config user.name "github-actions[bot]" git config user.name "gitea-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com" git config user.email "actions@noreply.gitea.io"
# Increase buffer to handle larger media files
git config http.postBuffer 524288000
# Move built content to a temporary location outside the git tree
mv output_content /tmp/site_final mv output_content /tmp/site_final
# Switch to an orphan branch
git checkout --orphan docs-static git checkout --orphan docs-static
# Completely clear the working directory of all tracked files
git rm -rf . git rm -rf .
# Copy ONLY the contents of the build folder into the root
cp -r /tmp/site_final/. . cp -r /tmp/site_final/. .
# Add, commit, and force push # Optional: Remove source maps to save space
find . -name "*.map" -type f -delete
git add . git add .
git commit -m "Automated MkDocs build: $(date)" git commit -m "Automated MkDocs build"
git push origin docs-static --force git push origin docs-static --force