diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 8f5b53c0f..3929c418b 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -8,7 +8,6 @@ on: - main paths: - "docs/**" - - "x/**/*.md" - .github/workflows/deploy-docs.yml permissions: @@ -35,10 +34,6 @@ jobs: # npm install npm should be removed when https://github.com/npm/cli/issues/4942 is fixed - name: Build 🔧 - run: yarn install --frozen-lockfile - - run: yarn crowdin:sync - - name: Clean Crowdin Front Matter issues - run: bash clean.sh - shell: bash - run: yarn build - name: Deploy 🚀 diff --git a/custom-version-plugin.js b/custom-version-plugin.js index c9975b4d5..f1ecdba1f 100644 --- a/custom-version-plugin.js +++ b/custom-version-plugin.js @@ -29,15 +29,15 @@ module.exports = function (_context, _options) { async loadContent() { // Read the versions.json file to get the list of versions - const versionsJsonPath = path.join(_context.siteDir, 'versions.json'); + const versionsJsonPath = path.join(_context.siteDir, 'cosmos-sdk-docs', 'versions.json'); const versions = JSON.parse(fs.readFileSync(versionsJsonPath, 'utf8')); // Read the version config file - const versionConfigPath = path.join(_context.siteDir, 'version_config.json'); + const versionConfigPath = path.join(_context.siteDir, 'cosmos-sdk-docs', 'version_config.json'); const versionConfig = JSON.parse(fs.readFileSync(versionConfigPath, 'utf8')); // Read all the files in the /docs folder - const docsPath = path.join(_context.siteDir, 'docs'); + const docsPath = path.join(_context.siteDir, 'cosmos-sdk-docs', 'docs'); const files = getAllFiles(docsPath); // Iterate through the list of versions