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
gh-deploy doesn't work as expected #2447
Comments
I had the same problem in GitHub action. |
I seem to be having a similar issue, but I'm getting a different output.
It seems to me like it's ignoring that I have the This may be a different problem than what @almostengr has described and I can open a new issue for it if required. |
I had the same issue where force flag appears ignored and that I get the pull in remote changes error. Caused by me making a local deploy - which is supposed to be overcome with force. I deleted the remote branch Then I pushed another commit (without doing a deploy local) and then that caused the failing job again. :/ https://github.com/MichaelCurrin/mkdocs-quickstart/runs/2775959629?check_suite_focus=true |
This reverts commit 79f90e2. See mkdocs/mkdocs#2447
Your issue seems to be a bit different. However the fact that you are getting Python errors in your logs is also concerning and telling of what the origin of the problem could be |
I too have encountered this issue. gh-deploy does not force push anymore |
Here's a workaround for your deploy.yml to force mkdocs version 1.1.2
|
I "solved" this issue by forcing the use of mkdocs==1.1.2. This restored the expected behaviour. Waiting to understand how to properly use mkdocs 1.2. |
Thanks, works for me - run 👍 I set mine to have the same BW I recommend using requirements file so you can use the same version locally and in GH Actions. Defining only in your workflow as |
Thanks for the info. @waylan Yes agree with staying on 1.1.2. Note that using
|
FYI, version 1.2.1 has been released. |
Seems to have worked for me! Thanks for the quick fix! |
Update the mkdocs engine to the latest patch 1.3.1 We are currently seeing an issue similar to mkdocs/mkdocs#2447 i.e. deployment fails for some PRs involving updates to docs Updating mkdocs might fix the issue.
Update the mkdocs engine to the latest patch 1.3.1 We are currently seeing an issue similar to mkdocs/mkdocs#2447 i.e. deployment fails for some PRs involving updates to docs Updating mkdocs might fix the issue.
Update the mkdocs engine to the latest patch 1.3.1 We are currently seeing an issue similar to mkdocs/mkdocs#2447 i.e. deployment fails for some PRs involving updates to docs Updating mkdocs might fix the issue.
Before recent updates, gh-deploy would work fine. Since the latest update, it does not work.
The output in the console shows that it should have deployed. However when I check the corresponding git branch on Github, it does not show that the command work. I've tried using gh-deploy with other branches, and those branches did not get to Github either.
I see that an update in commit 2688a6d was made regarding the gh-deploy command. Perhaps this change could be the culprit?
Below is the console output from my computer where the command should have pushed the build to Github, but it did not.
The current PIP packages that I have installed are
pip
setuptools
mkdocs
mkdocs-minify-plugin
and I did upgrade to the latest version of Python and the above mentioned packages before filing this bug.
EDIT: Including link to workflow file
https://github.com/almostengr/almostengrwebsite/actions/runs/901490280/workflow
The text was updated successfully, but these errors were encountered: