Skip to content

Commit

Permalink
ci: Robots Txt Fix (#4380)
Browse files Browse the repository at this point in the history
* chore: fix docusaurus format

* ci: fix robots workflow

* ci: update
  • Loading branch information
karl-cardenas-coding committed Oct 19, 2024
1 parent 8c48efd commit 2f3fab9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/versions_robot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
- name: Ensure noIndex is set
id: check_noindex
run: node scripts/noindex_docusaurus_config.js $RUNNER_TEMP $PWD && mv $RUNNER_TEMP/temp.docusaurus.config.js $PWD/docusaurus.config.js
run: node scripts/noindex_docusaurus_config.js $PWD

- name: Auto Format (Prettier)
run: make format
Expand Down
1 change: 0 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ const ArchivedVersions = require("./archiveVersions.json");
const { pluginPacksAndIntegrationsData } = require("./plugins/packs-integrations");
const { pluginImportFontAwesomeIcons } = require("./plugins/font-awesome");
import path from "path";
import { Logger } from "sass";

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down
4 changes: 3 additions & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[build]
ignore = "./scripts/netlify.sh"
command = "npm run build"

[context.branch-deploy.environment]
# Set so that branch deploys (version-x.legacy.docs.spectrocloud.com) contain sitemap.xml
NODE_ENV = "production"

0 comments on commit 2f3fab9

Please sign in to comment.