Is it possible to use action-deploy-theme from Github with Ghost instance on Cloudron?
-
I've set it up following the instructions on https://github.com/TryGhost/action-deploy-theme, but it doesn't work and I'm wondering if maybe it's not possible with a Cloudron instance of Ghost?
Stil a noob trying things a bit blindly, thank you for your patience...
-
I've set it up following the instructions on https://github.com/TryGhost/action-deploy-theme, but it doesn't work and I'm wondering if maybe it's not possible with a Cloudron instance of Ghost?
Stil a noob trying things a bit blindly, thank you for your patience...
-
A abargel deleted this topic on
-
-
A abargel restored this topic on
-
@abargel Since it's using the Ghost API, I don't see why it should not work. I have never used GitHub actions, so I don't really know how to debug that. Is there any logs on why the action fails?
-
@girish Thanks, as long as there is no obvious incompatibility, I will explore more. (Not sure either how to go at it.)
@abargel In this
name: Deploy Theme on: push: branches: - master - main jobs: deploy: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 - name: Deploy Ghost Theme uses: TryGhost/action-deploy-theme@v1 with: api-url: ${{ secrets.GHOST_ADMIN_API_URL }} api-key: ${{ secrets.GHOST_ADMIN_API_KEY }}Should I replace "ubuntu-18.04" by the Ubuntu version on my server where my Ghost instance is?
-
@abargel In this
name: Deploy Theme on: push: branches: - master - main jobs: deploy: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 - name: Deploy Ghost Theme uses: TryGhost/action-deploy-theme@v1 with: api-url: ${{ secrets.GHOST_ADMIN_API_URL }} api-key: ${{ secrets.GHOST_ADMIN_API_KEY }}Should I replace "ubuntu-18.04" by the Ubuntu version on my server where my Ghost instance is?
-
@abargel Only error message I see is:
@tryghost/admin-api: The 'version' parameter has a deprecated format 'canary', please use 'v{major}.{minor}' format instead@girish So, after updating for recent versions, my main.yaml file looks like this:
name: Deploy Theme on: push: branches: - master - main jobs: deploy: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3.0.2 - uses: TryGhost/action-deploy-theme@v1.6.1 with: api-url: ${{ secrets.GHOST_ADMIN_API_URL }} api-key: ${{ secrets.GHOST_ADMIN_API_KEY }}I've also renamed the Github repository to:
Basho-master--34-so that it matched the theme name on Ghost admin:
basho (Basho-master--34-) Version 2.3.0On every commit, the "deploy" action is triggered. There is an extensive log, where the only issue is the "canary" version parameter copied above. Otherwise it announces a successful upload, but my theme files are not updated. I'm not sure where the repo gets uploaded, I guess...
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login