-
Notifications
You must be signed in to change notification settings - Fork 47
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
Canary version deprecated in admin api #76
Comments
I just noticed that this seems to just log a warning (I amended the description above), which should not really fail the build. I guess the original warning issue still stands. But I'm not sure why my build is failing, there's nothing really useful apart for this warning in the github action log. |
same here, getting ( @tryghost/admin-api: The 'version' parameter has a deprecated format 'canary', please use 'v{major}.{minor}' format instead ) error |
Getting this error as well! |
This is not an error, it is just a warning |
Definitely an error for me, as it's failing to deploy with this as the reason |
Here are my debug logs:
I've triple checked the admin URL and API, nothing works. I have another Ghost installation where everything is working fine however |
Hi, I have the same problem. |
Hey guys. Here is a working action for you :)
|
As suggested in this comment: TryGhost/action-deploy-theme#76 (comment)
Hey @RayLuxembourg 👋 Downgrading It also worked after I re-upgraded the action to 1.6.1. Really weird thing. But thank you for helping in any case! |
when adding secrets there is some confusing option that's actually not an action secret, I fall into that trap and I saw with the echo it was an empty secret and fixed it. |
I fell into the same trap! Thanks for the help @RayLuxembourg |
Fixed with #80 |
Hello 👋
I've been trying to use this action to deploy a theme to my blog.
This is what my action yaml looks like:
The github action
failsraises a warning with the following error:I have traced this back to the admin api SDK dependency, which appears to have dropped support for 'canary' as a version.
However, this action always defaults it to
canary
.Suggested solution
I believe that this can be resolved as follows:
with
param to specifyversion
Let me know what you think!
The text was updated successfully, but these errors were encountered: