Skip to content
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

github-publish/check returning a 500 internal server errror, but works fine in local development build #28

Open
Callum21 opened this issue Sep 5, 2024 · 2 comments

Comments

@Callum21
Copy link

Callum21 commented Sep 5, 2024

Hello,

On our production app, the Github Publishing check status is stuck and returns an error 500 in the console. When the app is run locally in the development build, the check works fine.

Strapi Version: 3.5.4
Plugin Version: 0.1.0

Has anyone else ran into this issue?

@bmbaron
Copy link

bmbaron commented Dec 12, 2024

Hi @Callum21, maybe you've solved this already but I was having the same issue, and it ended up being that I didn't include

workflow_dispatch:

under my "on" condition in the yaml file that I was trying to trigger. Adding that allows the file to be run manually or by a trigger such as the plugin.

https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#workflow_dispatch

Also, there's a fork of this repo which I'm using which is here: https://market.strapi.io/plugins/strapi-plugin-site-publisher

@Callum21
Copy link
Author

Hello, I have still not solved this.

in my yaml file I have:

on:
workflow_dispatch:
push:
branches:
- master

The site I am using the plugin on is using an older version of Strapi so I am unable to use the new plugin for Strapi v4.

Thanks

@Callum21 Callum21 reopened this Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants