From 317ddf2f28f56846fc35723f8f08c2f67846a508 Mon Sep 17 00:00:00 2001 From: Yulian Date: Sun, 1 Sep 2024 14:06:36 +0200 Subject: [PATCH] ci/cd --- .github/workflows/deploy.yml | 4 ++-- docusaurus.config.js | 23 ----------------------- package.json | 5 ++--- 3 files changed, 4 insertions(+), 28 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 737afcc0..8f7334b8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,12 +18,12 @@ jobs: uses: actions/setup-node@v3 with: node-version: 18 - cache: 'npm' + cache: npm - name: Install Project Dependencies run: npm ci - - name: Build the Docusaurus Website + - name: Build Docusaurus Website run: npm run build - name: Display Build Folder Size diff --git a/docusaurus.config.js b/docusaurus.config.js index fbf8e76f..bd77ea74 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -78,29 +78,6 @@ const config = { trailingSlash: false, }, ], - [ - '@docusaurus/plugin-pwa', - { - debug: false, - offlineModeActivationStrategies: [ - 'appInstalled', - 'queryString', - 'always', - ], - pwaHead: [ - { - tagName: 'link', - rel: 'icon', - href: '/img/favicon1.ico', - }, - { - tagName: 'meta', - name: 'theme-color', - content: '#FFD700', - }, - ], - }, - ], [ '@docusaurus/plugin-seo', { diff --git a/package.json b/package.json index 713f8c70..f6812e5d 100644 --- a/package.json +++ b/package.json @@ -19,13 +19,12 @@ "@mdx-js/react": "^1.6.22", "clsx": "^1.2.1", "prism-react-renderer": "^1.3.5", - "react": "^18.0.0", - "react-dom": "^18.0.0", + "react": "^17.0.2", + "react-dom": "^17.0.2", "react-router-dom": "^6.9.0", "@docusaurus/plugin-google-analytics": "latest", "@docusaurus/plugin-google-tag-manager": "latest", "@docusaurus/plugin-sitemap": "latest", - "@docusaurus/plugin-pwa": "^2.3.0", "@docusaurus/plugin-seo": "latest", "@docusaurus/plugin-robots-txt": "latest", "@docusaurus/plugin-content-blog": "latest"