colibris-xyz / strapi-plugin-site-publisher

This is a plugin for Strapi headless CMS. It lets you trigger a GitHub Action workflow when the site is ready to be published.
MIT License
6 stars 3 forks source link

Plugin is not visible on the admin dashboard #66

Closed dgokcin closed 1 year ago

dgokcin commented 1 year ago

Helloo

I have installed the plugin to strapi v 4.4.5 with yarn and I can see it listed under http://localhost:1337/admin/list-plugins. However, I can not see it on the admin panel. I also see in the logs that it is enabled.

module.exports = ({ env }) => ({
  upload: {
    enabled: true,
  },
  "import-export-entries": {
    enabled: true,
  },
  'site-publisher': {
    config: {
      owner: 'username', // The Github organisation or user
      repo: 'reponame', // The name of the repository
      workflow_id: 'rebuild.yml', // The workflow_id or filename
      token: env('GITHUB_TOKEN'), // The GitHub personal access token with access to trigger workflows and view build status
      branch: 'master', // The branch the workflow should be triggered on
      inputs: {
        // Optional inputs to pass through to the GitHub workflow
        some_input: 'Some value',
        some_other_input: 'Some other value',
      }
    }
  },
});

Could you please help me out?

tms0 commented 1 year ago

Hi,

All I can see is that you use the website builder plugin, this project is about the site publisher plugin.

dgokcin commented 1 year ago

@tms0 sorry for the confusion. I experimented with so many plugins that I mixed the repositories. I updated the first comment of mine with the correct plugins config and attaching an ss from the list-plugins page. Any idea why I can not see the site publisher plugin?

image
dgokcin commented 1 year ago

@tms0 npm run build --clean solved my problem.

tms0 commented 1 year ago

Glad to hear that! I hope this plugin will be useful to you :-)