From 3163335c611f3c4b80704a0835430525a2bd3afa Mon Sep 17 00:00:00 2001 From: Artur Akmalov Date: Mon, 22 May 2023 00:28:17 +0500 Subject: [PATCH] on --- .github/workflows/node.js.yml | 12 ++++++------ docusaurus.config.js | 10 ---------- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index a282b33..3e0de26 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -29,9 +29,9 @@ jobs: - run: npm ci - run: npm run build --if-present - # - name: Deploy with gh-pages - # run: | - # git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git - # npm run deploy-ghp -- -u "github-actions-bot " - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + - name: Deploy with gh-pages + run: | + git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git + npm run deploy-ghp -- -u "github-actions-bot " + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/docusaurus.config.js b/docusaurus.config.js index 7871514..e230d9e 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -78,16 +78,6 @@ const config = { theme: lightCodeTheme, darkTheme: darkCodeTheme, }, - // sidebar: { - // hideable: false, - // }, - // algolia: { - // appId: 'TX89NNWRFT', - // apiKey: '504e88ecd6f2adbeb56f34a358dd0cba', - // indexName: 'akmalov.com', - // contextualSearch: true, - // placeholder: "Search...", - // }, colorMode: { defaultMode: 'dark', disableSwitch: true,