everythinginjs / strapi-plugin-update-static-content

An Strapi plugin for rebuilding and deploying your static website via Github Actions.
12 stars 6 forks source link

Cannot see the plugin page and plugin settings on the sidebar menu #14

Closed shinichimg closed 4 days ago

shinichimg commented 5 days ago

I already set the following document, here are my configs: in config/plugins.js

module.exports = ({ env }) => ({
  'update-static-content': {
    enabled: true,
    config: {
      githubToken: env('GITHUB_TOKEN'), // accessing personal github token from env file
      owner: 'myowner', // owner of the repo
      repo: 'myrepo', // name of the repo
      workflowId: 'github_ci.yml', // workflowId OR filename
      branch: 'main', // branch name
    },
  },
});

However, it doesn't show anything on the menu sidebar, even if the plugin is added successfully

Screen Shot 2024-06-28 at 10 25 50

Here is my package.json

{
  "name": "headless-blog",
  "private": true,
  "version": "0.1.0",
  "description": "A Strapi application",
  "scripts": {
    "develop": "strapi develop",
    "start": "strapi start",
    "build": "strapi build",
    "strapi": "strapi"
  },
  "devDependencies": {},
  "dependencies": {
    "@strapi/plugin-i18n": "4.14.5",
    "@strapi/plugin-users-permissions": "4.14.5",
    "@strapi/provider-email-nodemailer": "^4.24.5",
    "@strapi/strapi": "4.14.5",
    "better-sqlite3": "8.6.0",
    "pg": "^8.11.5",
    "reading-time": "^1.5.0",
    "strapi-plugin-import-export-entries": "^1.23.1",
    "strapi-plugin-update-static-content": "^2.0.7",
    "strapi-provider-email-mailjet": "^4.0.0"
  },
  "author": {
    "name": "A Strapi developer"
  },
  "strapi": {
    "uuid": "a6ffdbd2-a219-40d9-8c30-2241b49f7870"
  },
  "engines": {
    "node": ">=16.0.0 <=20.x.x",
    "npm": ">=6.0.0"
  },
  "license": "MIT"
}
shinichimg commented 4 days ago

Please upgrade strapi version to v4.20.1 to fix this issue, thanks!