Skip to content

bug: 🐝 git lfs #1826

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
humbertodias opened this issue Mar 19, 2025 · 0 comments
Open

bug: 🐝 git lfs #1826

humbertodias opened this issue Mar 19, 2025 · 0 comments
Assignees
Labels
bug 🐝 This issue describes a bug. triage ⚠️

Comments

@humbertodias
Copy link

Describe the bug

I have git lfs enabled to avoid the following error. But, didn't work as expected. How can i use lfs with github-pages-deploy action? Thanks

Reproduction Steps

Just trigger the github action. The last step is the deploy for gh-pages
https://github.com/humbertodias/hugo-lululu/actions/runs/13949717495/job/39045715595

Logs

20s
Run JamesIves/github-pages-deploy-action@v4
    ╭━━━╮╭╮╭╮╱╭╮╱╱╭╮╱╱╭━━━╮
    ┃╭━╮┣╯╰┫┃╱┃┃╱╱┃┃╱╱┃╭━╮┃
    ┃┃╱╰╋╮╭┫╰━╯┣╮╭┫╰━╮┃╰━╯┣━━┳━━┳━━┳━━╮
    ┃┃╭━╋┫┃┃╭━╮┃┃┃┃╭╮┃┃╭━━┫╭╮┃╭╮┃┃━┫━━┫
    ┃╰┻━┃┃╰┫┃╱┃┃╰╯┃╰╯┃┃┃╱╱┃╭╮┃╰╯┃┃━╋━━┃
    ╰━━━┻┻━┻╯╱╰┻━━┻━━╯╰╯╱╱╰╯╰┻━╮┣━━┻━━╯
    ╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╭━╯┃
    ╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╰━━╯
    ╭━━━╮╱╱╱╱╱╭╮╱╱╱╱╱╱╱╱╭━━━╮╱╱╭╮
    ╰╮╭╮┃╱╱╱╱╱┃┃╱╱╱╱╱╱╱╱┃╭━╮┃╱╭╯╰╮
    ╱┃┃┃┣━━┳━━┫┃╭━━┳╮╱╭╮┃┃╱┃┣━┻╮╭╋┳━━┳━╮
    ╱┃┃┃┃┃━┫╭╮┃┃┃╭╮┃┃╱┃┃┃╰━╯┃╭━┫┃┣┫╭╮┃╭╮╮
    ╭╯╰╯┃┃━┫╰╯┃╰┫╰╯┃╰━╯┃┃╭━╮┃╰━┫╰┫┃╰╯┃┃┃┃
    ╰━━━┻━━┫╭━┻━┻━━┻━╮╭╯╰╯╱╰┻━━┻━┻┻━━┻╯╰╯
    ╱╱╱╱╱╱╱┃┃╱╱╱╱╱╱╭━╯┃
    ╱╱╱╱╱╱╱╰╯╱╱╱╱╱╱╰━━╯
    
    💖 Support: https://github.com/sponsors/JamesIves
    📣 Maintained by James Ives: https://jamesiv.es
    🚀 Getting Started Guide: https://github.com/JamesIves/github-pages-deploy-action
    ❓ Discussions / Q&A: https://github.com/JamesIves/github-pages-deploy-action/discussions
    🔧 Report a Bug: https://github.com/JamesIves/github-pages-deploy-action/issues
Checking configuration and starting deployment… 🚦
Deploying using Deploy Token… 🔑
Configuring git…
/usr/bin/git config --global --add safe.directory /home/runner/work/hugo-lululu/hugo-lululu
/usr/bin/git config user.name humbertodias
/usr/bin/git config user.email ***
/usr/bin/git config core.ignorecase false
/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
/usr/bin/git remote rm origin
/usr/bin/git remote add origin ***github.com/humbertodias/hugo-lululu.git
Git configured… 🔧
Starting to commit changes…
/usr/bin/git ls-remote --heads ***github.com/humbertodias/hugo-lululu.git refs/heads/gh-pages
d6d423c52a60db40f8f8261f94eaa58b2316105a	refs/heads/gh-pages
Creating worktree…
/usr/bin/git fetch --no-recurse-submodules --depth=1 origin gh-pages
From https://github.com/humbertodias/hugo-lululu
 * branch            gh-pages   -> FETCH_HEAD
 * [new branch]      gh-pages   -> origin/gh-pages
/usr/bin/git worktree add --no-checkout --detach github-pages-deploy-action-temp-deployment-folder
Preparing worktree (detached HEAD 829a99e)
/usr/bin/git checkout -B gh-pages origin/gh-pages
Previous HEAD position was 829a99e Enable Git LFS
Switched to a new branch 'gh-pages'
branch 'gh-pages' set up to track 'origin/gh-pages'.
/usr/bin/git config --global --add safe.directory /home/runner/work/hugo-lululu/hugo-lululu/github-pages-deploy-action-temp-deployment-folder
/usr/bin/chmod -R +rw /home/runner/work/hugo-lululu/hugo-lululu/build/WebGL/WebGL
/usr/bin/chmod: changing permissions of '/home/runner/work/hugo-lululu/hugo-lululu/build/WebGL/WebGL': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/hugo-lululu/hugo-lululu/build/WebGL/WebGL/index.html': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/hugo-lululu/hugo-lululu/build/WebGL/WebGL/ProjectVersion.txt': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/hugo-lululu/hugo-lululu/build/WebGL/WebGL/TemplateData': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/hugo-lululu/hugo-lululu/build/WebGL/WebGL/TemplateData/MemoryProfiler.png': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/hugo-lululu/hugo-lululu/build/WebGL/WebGL/TemplateData/style.css': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/hugo-lululu/hugo-lululu/build/WebGL/WebGL/TemplateData/progress-bar-empty-dark.png': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/hugo-lululu/hugo-lululu/build/WebGL/WebGL/TemplateData/progress-bar-full-light.png': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/hugo-lululu/hugo-lululu/build/WebGL/WebGL/TemplateData/fullscreen-button.png': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/hugo-lululu/hugo-lululu/build/WebGL/WebGL/TemplateData/progress-bar-empty-light.png': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/hugo-lululu/hugo-lululu/build/WebGL/WebGL/TemplateData/favicon.ico': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/hugo-lululu/hugo-lululu/build/WebGL/WebGL/TemplateData/unity-logo-light.png': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/hugo-lululu/hugo-lululu/build/WebGL/WebGL/TemplateData/webmemd-icon.png': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/hugo-lululu/hugo-lululu/build/WebGL/WebGL/TemplateData/progress-bar-full-dark.png': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/hugo-lululu/hugo-lululu/build/WebGL/WebGL/TemplateData/unity-logo-title-footer.png': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/hugo-lululu/hugo-lululu/build/WebGL/WebGL/TemplateData/unity-logo-dark.png': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/hugo-lululu/hugo-lululu/build/WebGL/WebGL/GUID.txt': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/hugo-lululu/hugo-lululu/build/WebGL/WebGL/Build': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/hugo-lululu/hugo-lululu/build/WebGL/WebGL/Build/WebGL.framework.js': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/hugo-lululu/hugo-lululu/build/WebGL/WebGL/Build/WebGL.wasm': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/hugo-lululu/hugo-lululu/build/WebGL/WebGL/Build/WebGL.loader.js': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/hugo-lululu/hugo-lululu/build/WebGL/WebGL/Build/WebGL.data': Operation not permitted
Unable to modify permissions…
/usr/bin/rsync -q -av --checksum --progress /home/runner/work/hugo-lululu/hugo-lululu/build/WebGL/WebGL/. github-pages-deploy-action-temp-deployment-folder --delete --exclude CNAME --exclude .nojekyll --exclude .ssh --exclude .git --exclude .github
Checking if there are files to commit…
/usr/bin/git add --all .
/usr/bin/git checkout -b github-pages-deploy-action/obkrx430f
Switched to a new branch 'github-pages-deploy-action/obkrx430f'
/usr/bin/git commit -m Deploying to gh-pages from @ humbertodias/hugo-lululu@829a99e4dbf467729456a4746c4279ae71266eed 🚀 --quiet --no-verify
Force-pushing changes...
/usr/bin/git push --force ***github.com/humbertodias/hugo-lululu.git github-pages-deploy-action/obkrx430f:gh-pages
remote: error: Trace: 34221b1f2f83c20996237ba5b001604a6c22a84545e14cc639615f8970056e05        
remote: error: See https://gh.io/lfs for more information.        
remote: error: File Build/WebGL.data is 169.83 MB; this exceeds GitHub's file size limit of 100.00 MB        
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.        
To https://github.com/humbertodias/hugo-lululu.git
 ! [remote rejected] github-pages-deploy-action/obkrx430f -> gh-pages (pre-receive hook declined)
error: failed to push some refs to 'https://github.com/humbertodias/hugo-lululu.git'
Running post deployment cleanup jobs… 🗑️
/usr/bin/git checkout -B github-pages-deploy-action/obkrx430f
Reset branch 'github-pages-deploy-action/obkrx430f'
/usr/bin/chmod -R +rw github-pages-deploy-action-temp-deployment-folder
/usr/bin/git worktree remove github-pages-deploy-action-temp-deployment-folder --force
Error: The deploy step encountered an error: The process '/usr/bin/git' failed with exit code 1 ❌
Notice: Deployment failed! ❌

Workflow

https://github.com/humbertodias/hugo-lululu/blob/main/.github/workflows/build.yml

Additional Comments

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐝 This issue describes a bug. triage ⚠️
Projects
None yet
Development

No branches or pull requests

2 participants