redkubes / docusaurus-deploy-action

12 stars 3 forks source link

Error: Minimum Node.js version not met :( #4

Open mdarif opened 2 years ago

mdarif commented 2 years ago

Hi,

Getting Error: Minimum Node.js version not met :(

I know the culprit as shown in the log 2022-08-08T10:15:01.0704853Z [INFO] You are using Node.js v14.19.1, Requirement: Node.js >=16.14.

Probably you need to add the Setup Node step in your yml as given below in order to resolve the newer Node dependency.

  - name: Setup Node
    uses: actions/setup-node@v3
    with:
      node-version: '17'

Please find the attached log.

2022-08-08T10:14:17.0788552Z Requested labels: ubuntu-latest
2022-08-08T10:14:17.0788598Z Job defined at: mdarif/project-management/.github/workflows/pages.yml@refs/heads/master
2022-08-08T10:14:17.0788615Z Waiting for a runner to pick up this job...
2022-08-08T10:14:18.1944084Z Job is waiting for a hosted runner to come online.
2022-08-08T10:14:22.5225340Z Job is about to start running on the hosted runner: Hosted Agent (hosted)
2022-08-08T10:14:25.2259639Z Current runner version: '2.294.0'
2022-08-08T10:14:25.2286065Z ##[group]Operating System
2022-08-08T10:14:25.2286635Z Ubuntu
2022-08-08T10:14:25.2286936Z 20.04.4
2022-08-08T10:14:25.2287173Z LTS
2022-08-08T10:14:25.2287566Z ##[endgroup]
2022-08-08T10:14:25.2287923Z ##[group]Virtual Environment
2022-08-08T10:14:25.2288266Z Environment: ubuntu-20.04
2022-08-08T10:14:25.2288610Z Version: 20220729.1
2022-08-08T10:14:25.2289144Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu20/20220729.1/images/linux/Ubuntu2004-Readme.md
2022-08-08T10:14:25.2289816Z Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F20220729.1
2022-08-08T10:14:25.2290305Z ##[endgroup]
2022-08-08T10:14:25.2290678Z ##[group]Virtual Environment Provisioner
2022-08-08T10:14:25.2291054Z 1.0.0.0-main-20220725-1
2022-08-08T10:14:25.2291334Z ##[endgroup]
2022-08-08T10:14:25.2292382Z ##[group]GITHUB_TOKEN Permissions
2022-08-08T10:14:25.2292997Z Actions: write
2022-08-08T10:14:25.2293473Z Checks: write
2022-08-08T10:14:25.2293858Z Contents: write
2022-08-08T10:14:25.2294192Z Deployments: write
2022-08-08T10:14:25.2294485Z Discussions: write
2022-08-08T10:14:25.2294808Z Issues: write
2022-08-08T10:14:25.2295170Z Metadata: read
2022-08-08T10:14:25.2295453Z Packages: write
2022-08-08T10:14:25.2295772Z Pages: write
2022-08-08T10:14:25.2296103Z PullRequests: write
2022-08-08T10:14:25.2296425Z RepositoryProjects: write
2022-08-08T10:14:25.2296832Z SecurityEvents: write
2022-08-08T10:14:25.2297176Z Statuses: write
2022-08-08T10:14:25.2297454Z ##[endgroup]
2022-08-08T10:14:25.2301614Z Secret source: Actions
2022-08-08T10:14:25.2302160Z Prepare workflow directory
2022-08-08T10:14:25.3129905Z Prepare all required actions
2022-08-08T10:14:25.3312319Z Getting action download info
2022-08-08T10:14:25.5434565Z Download action repository 'actions/checkout@master' (SHA:2541b1294d2704b0964813337f33b291d3f8596b)
2022-08-08T10:14:25.8424800Z Download action repository 'redkubes/docusaurus-deploy-action@v1' (SHA:e3c1d7f8732f8790ea45ac7ded561a8535bdbe13)
2022-08-08T10:14:26.2661869Z ##[group]Pull down action image 'otomi/docusaurus-deploy-action:v1.1'
2022-08-08T10:14:26.2740671Z ##[command]/usr/bin/docker pull otomi/docusaurus-deploy-action:v1.1
2022-08-08T10:14:26.6690481Z v1.1: Pulling from otomi/docusaurus-deploy-action
2022-08-08T10:14:26.6691616Z 40e059520d19: Pulling fs layer
2022-08-08T10:14:26.6691856Z 5ba5d14d2744: Pulling fs layer
2022-08-08T10:14:26.6692168Z 7410353db4cc: Pulling fs layer
2022-08-08T10:14:26.6692555Z e19cbaad6e3f: Pulling fs layer
2022-08-08T10:14:26.6693112Z 57ec390b6157: Pulling fs layer
2022-08-08T10:14:26.6693718Z ef48353bfa53: Pulling fs layer
2022-08-08T10:14:26.6694252Z e19cbaad6e3f: Waiting
2022-08-08T10:14:26.6695250Z 57ec390b6157: Waiting
2022-08-08T10:14:26.6695693Z ef48353bfa53: Waiting
2022-08-08T10:14:26.7291200Z 40e059520d19: Verifying Checksum
2022-08-08T10:14:26.7293168Z 40e059520d19: Download complete
2022-08-08T10:14:26.7922810Z 7410353db4cc: Verifying Checksum
2022-08-08T10:14:26.7924342Z 7410353db4cc: Download complete
2022-08-08T10:14:26.8174751Z e19cbaad6e3f: Verifying Checksum
2022-08-08T10:14:26.8178107Z e19cbaad6e3f: Download complete
2022-08-08T10:14:26.9999675Z ef48353bfa53: Verifying Checksum
2022-08-08T10:14:27.0000697Z ef48353bfa53: Download complete
2022-08-08T10:14:27.0307077Z 40e059520d19: Pull complete
2022-08-08T10:14:27.0859482Z 5ba5d14d2744: Verifying Checksum
2022-08-08T10:14:27.0859863Z 5ba5d14d2744: Download complete
2022-08-08T10:14:27.7752939Z 57ec390b6157: Verifying Checksum
2022-08-08T10:14:27.7753303Z 57ec390b6157: Download complete
2022-08-08T10:14:30.1723769Z 5ba5d14d2744: Pull complete
2022-08-08T10:14:30.3169818Z 7410353db4cc: Pull complete
2022-08-08T10:14:30.3727451Z e19cbaad6e3f: Pull complete
2022-08-08T10:14:34.0388478Z 57ec390b6157: Pull complete
2022-08-08T10:14:34.0959305Z ef48353bfa53: Pull complete
2022-08-08T10:14:34.1032645Z Digest: sha256:570e2e4c0aea5954bbdfee6400f21efb4921a85df4e61017da8fdaa833f99289
2022-08-08T10:14:34.1044497Z Status: Downloaded newer image for otomi/docusaurus-deploy-action:v1.1
2022-08-08T10:14:34.1074352Z docker.io/otomi/docusaurus-deploy-action:v1.1
2022-08-08T10:14:34.1083953Z ##[endgroup]
2022-08-08T10:14:34.1449612Z ##[group]Run actions/checkout@master
2022-08-08T10:14:34.1449890Z with:
2022-08-08T10:14:34.1450123Z   repository: mdarif/project-management
2022-08-08T10:14:34.1450627Z   token: ***
2022-08-08T10:14:34.1450837Z   ssh-strict: true
2022-08-08T10:14:34.1451050Z   persist-credentials: true
2022-08-08T10:14:34.1451275Z   clean: true
2022-08-08T10:14:34.1451476Z   fetch-depth: 1
2022-08-08T10:14:34.1451661Z   lfs: false
2022-08-08T10:14:34.1451863Z   submodules: false
2022-08-08T10:14:34.1452088Z   set-safe-directory: true
2022-08-08T10:14:34.1452297Z ##[endgroup]
2022-08-08T10:14:34.3948846Z Syncing repository: mdarif/project-management
2022-08-08T10:14:34.3950552Z ##[group]Getting Git version info
2022-08-08T10:14:34.3951083Z Working directory is '/home/runner/work/project-management/project-management'
2022-08-08T10:14:34.3951663Z [command]/usr/bin/git version
2022-08-08T10:14:34.4059078Z git version 2.37.1
2022-08-08T10:14:34.4062646Z ##[endgroup]
2022-08-08T10:14:34.4088483Z Temporarily overriding HOME='/home/runner/work/_temp/331f77a7-eae0-444a-a202-4826b8691794' before making global git config changes
2022-08-08T10:14:34.4090181Z Adding repository directory to the temporary git global config as a safe directory
2022-08-08T10:14:34.4095948Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/project-management/project-management
2022-08-08T10:14:34.4145901Z Deleting the contents of '/home/runner/work/project-management/project-management'
2022-08-08T10:14:34.4158625Z ##[group]Initializing the repository
2022-08-08T10:14:34.4164151Z [command]/usr/bin/git init /home/runner/work/project-management/project-management
2022-08-08T10:14:34.4230786Z hint: Using 'master' as the name for the initial branch. This default branch name
2022-08-08T10:14:34.4231610Z hint: is subject to change. To configure the initial branch name to use in all
2022-08-08T10:14:34.4232377Z hint: of your new repositories, which will suppress this warning, call:
2022-08-08T10:14:34.4232674Z hint: 
2022-08-08T10:14:34.4233104Z hint:  git config --global init.defaultBranch <name>
2022-08-08T10:14:34.4233371Z hint: 
2022-08-08T10:14:34.4233716Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
2022-08-08T10:14:34.4234170Z hint: 'development'. The just-created branch can be renamed via this command:
2022-08-08T10:14:34.4234471Z hint: 
2022-08-08T10:14:34.4234721Z hint:  git branch -m <name>
2022-08-08T10:14:34.4242448Z Initialized empty Git repository in /home/runner/work/project-management/project-management/.git/
2022-08-08T10:14:34.4253360Z [command]/usr/bin/git remote add origin https://github.com/mdarif/project-management
2022-08-08T10:14:34.4297844Z ##[endgroup]
2022-08-08T10:14:34.4298319Z ##[group]Disabling automatic garbage collection
2022-08-08T10:14:34.4304783Z [command]/usr/bin/git config --local gc.auto 0
2022-08-08T10:14:34.4339256Z ##[endgroup]
2022-08-08T10:14:34.4340169Z ##[group]Setting up auth
2022-08-08T10:14:34.4359649Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2022-08-08T10:14:34.4398683Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2022-08-08T10:14:34.4749934Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2022-08-08T10:14:34.4785001Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2022-08-08T10:14:34.5015179Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2022-08-08T10:14:34.5062852Z ##[endgroup]
2022-08-08T10:14:34.5063354Z ##[group]Fetching the repository
2022-08-08T10:14:34.5067528Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +fe98dc95e94f8721b73f0b0578268e05f10c9351:refs/remotes/origin/master
2022-08-08T10:14:34.7153336Z remote: Enumerating objects: 113, done.        
2022-08-08T10:14:34.7158535Z remote: Counting objects:   0% (1/113)        
2022-08-08T10:14:34.7159086Z remote: Counting objects:   1% (2/113)        
2022-08-08T10:14:34.7159656Z remote: Counting objects:   2% (3/113)        
2022-08-08T10:14:34.7206504Z remote: Counting objects:   3% (4/113)        
2022-08-08T10:14:34.7207541Z remote: Counting objects:   4% (5/113)        
2022-08-08T10:14:34.7207948Z remote: Counting objects:   5% (6/113)        
2022-08-08T10:14:34.7208257Z remote: Counting objects:   6% (7/113)        
2022-08-08T10:14:34.7208617Z remote: Counting objects:   7% (8/113)        
2022-08-08T10:14:34.7208914Z remote: Counting objects:   8% (10/113)        
2022-08-08T10:14:34.7209213Z remote: Counting objects:   9% (11/113)        
2022-08-08T10:14:34.7209506Z remote: Counting objects:  10% (12/113)        
2022-08-08T10:14:34.7209812Z remote: Counting objects:  11% (13/113)        
2022-08-08T10:14:34.7210098Z remote: Counting objects:  12% (14/113)        
2022-08-08T10:14:34.7210387Z remote: Counting objects:  13% (15/113)        
2022-08-08T10:14:34.7210681Z remote: Counting objects:  14% (16/113)        
2022-08-08T10:14:34.7210955Z remote: Counting objects:  15% (17/113)        
2022-08-08T10:14:34.7211241Z remote: Counting objects:  16% (19/113)        
2022-08-08T10:14:34.7211531Z remote: Counting objects:  17% (20/113)        
2022-08-08T10:14:34.7211806Z remote: Counting objects:  18% (21/113)        
2022-08-08T10:14:34.7212096Z remote: Counting objects:  19% (22/113)        
2022-08-08T10:14:34.7212385Z remote: Counting objects:  20% (23/113)        
2022-08-08T10:14:34.7212669Z remote: Counting objects:  21% (24/113)        
2022-08-08T10:14:34.7212944Z remote: Counting objects:  22% (25/113)        
2022-08-08T10:14:34.7213236Z remote: Counting objects:  23% (26/113)        
2022-08-08T10:14:34.7213525Z remote: Counting objects:  24% (28/113)        
2022-08-08T10:14:34.7213804Z remote: Counting objects:  25% (29/113)        
2022-08-08T10:14:34.7214093Z remote: Counting objects:  26% (30/113)        
2022-08-08T10:14:34.7214380Z remote: Counting objects:  27% (31/113)        
2022-08-08T10:14:34.7214671Z remote: Counting objects:  28% (32/113)        
2022-08-08T10:14:34.7214957Z remote: Counting objects:  29% (33/113)        
2022-08-08T10:14:34.7215249Z remote: Counting objects:  30% (34/113)        
2022-08-08T10:14:34.7215524Z remote: Counting objects:  31% (36/113)        
2022-08-08T10:14:34.7215814Z remote: Counting objects:  32% (37/113)        
2022-08-08T10:14:34.7216185Z remote: Counting objects:  33% (38/113)        
2022-08-08T10:14:34.7216438Z remote: Counting objects:  34% (39/113)        
2022-08-08T10:14:34.7216679Z remote: Counting objects:  35% (40/113)        
2022-08-08T10:14:34.7216936Z remote: Counting objects:  36% (41/113)        
2022-08-08T10:14:34.7217192Z remote: Counting objects:  37% (42/113)        
2022-08-08T10:14:34.7217436Z remote: Counting objects:  38% (43/113)        
2022-08-08T10:14:34.7217912Z remote: Counting objects:  39% (45/113)        
2022-08-08T10:14:34.7218169Z remote: Counting objects:  40% (46/113)        
2022-08-08T10:14:34.7218413Z remote: Counting objects:  41% (47/113)        
2022-08-08T10:14:34.7218667Z remote: Counting objects:  42% (48/113)        
2022-08-08T10:14:34.7218926Z remote: Counting objects:  43% (49/113)        
2022-08-08T10:14:34.7219181Z remote: Counting objects:  44% (50/113)        
2022-08-08T10:14:34.7219421Z remote: Counting objects:  45% (51/113)        
2022-08-08T10:14:34.7219673Z remote: Counting objects:  46% (52/113)        
2022-08-08T10:14:34.7219924Z remote: Counting objects:  47% (54/113)        
2022-08-08T10:14:34.7220163Z remote: Counting objects:  48% (55/113)        
2022-08-08T10:14:34.7220632Z remote: Counting objects:  49% (56/113)        
2022-08-08T10:14:34.7220887Z remote: Counting objects:  50% (57/113)        
2022-08-08T10:14:34.7221292Z remote: Counting objects:  51% (58/113)        
2022-08-08T10:14:34.7221550Z remote: Counting objects:  52% (59/113)        
2022-08-08T10:14:34.7221814Z remote: Counting objects:  53% (60/113)        
2022-08-08T10:14:34.7222054Z remote: Counting objects:  54% (62/113)        
2022-08-08T10:14:34.7222310Z remote: Counting objects:  55% (63/113)        
2022-08-08T10:14:34.7222566Z remote: Counting objects:  56% (64/113)        
2022-08-08T10:14:34.7222824Z remote: Counting objects:  57% (65/113)        
2022-08-08T10:14:34.7223062Z remote: Counting objects:  58% (66/113)        
2022-08-08T10:14:34.7223319Z remote: Counting objects:  59% (67/113)        
2022-08-08T10:14:34.7223570Z remote: Counting objects:  60% (68/113)        
2022-08-08T10:14:34.7223805Z remote: Counting objects:  61% (69/113)        
2022-08-08T10:14:34.7224056Z remote: Counting objects:  62% (71/113)        
2022-08-08T10:14:34.7224315Z remote: Counting objects:  63% (72/113)        
2022-08-08T10:14:34.7224586Z remote: Counting objects:  64% (73/113)        
2022-08-08T10:14:34.7224825Z remote: Counting objects:  65% (74/113)        
2022-08-08T10:14:34.7225074Z remote: Counting objects:  66% (75/113)        
2022-08-08T10:14:34.7225325Z remote: Counting objects:  67% (76/113)        
2022-08-08T10:14:34.7225564Z remote: Counting objects:  68% (77/113)        
2022-08-08T10:14:34.7225812Z remote: Counting objects:  69% (78/113)        
2022-08-08T10:14:34.7226062Z remote: Counting objects:  70% (80/113)        
2022-08-08T10:14:34.7226312Z remote: Counting objects:  71% (81/113)        
2022-08-08T10:14:34.7226550Z remote: Counting objects:  72% (82/113)        
2022-08-08T10:14:34.7226802Z remote: Counting objects:  73% (83/113)        
2022-08-08T10:14:34.7227055Z remote: Counting objects:  74% (84/113)        
2022-08-08T10:14:34.7227293Z remote: Counting objects:  75% (85/113)        
2022-08-08T10:14:34.7227549Z remote: Counting objects:  76% (86/113)        
2022-08-08T10:14:34.7227802Z remote: Counting objects:  77% (88/113)        
2022-08-08T10:14:34.7228049Z remote: Counting objects:  78% (89/113)        
2022-08-08T10:14:34.7228306Z remote: Counting objects:  79% (90/113)        
2022-08-08T10:14:34.7228560Z remote: Counting objects:  80% (91/113)        
2022-08-08T10:14:34.7228798Z remote: Counting objects:  81% (92/113)        
2022-08-08T10:14:34.7229051Z remote: Counting objects:  82% (93/113)        
2022-08-08T10:14:34.7229301Z remote: Counting objects:  83% (94/113)        
2022-08-08T10:14:34.7229552Z remote: Counting objects:  84% (95/113)        
2022-08-08T10:14:34.7229791Z remote: Counting objects:  85% (97/113)        
2022-08-08T10:14:34.7230043Z remote: Counting objects:  86% (98/113)        
2022-08-08T10:14:34.7230294Z remote: Counting objects:  87% (99/113)        
2022-08-08T10:14:34.7230540Z remote: Counting objects:  88% (100/113)        
2022-08-08T10:14:34.7231015Z remote: Counting objects:  89% (101/113)        
2022-08-08T10:14:34.7231534Z remote: Counting objects:  90% (102/113)        
2022-08-08T10:14:34.7231789Z remote: Counting objects:  91% (103/113)        
2022-08-08T10:14:34.7232050Z remote: Counting objects:  92% (104/113)        
2022-08-08T10:14:34.7232313Z remote: Counting objects:  93% (106/113)        
2022-08-08T10:14:34.7232556Z remote: Counting objects:  94% (107/113)        
2022-08-08T10:14:34.7232815Z remote: Counting objects:  95% (108/113)        
2022-08-08T10:14:34.7233075Z remote: Counting objects:  96% (109/113)        
2022-08-08T10:14:34.7233334Z remote: Counting objects:  97% (110/113)        
2022-08-08T10:14:34.7233578Z remote: Counting objects:  98% (111/113)        
2022-08-08T10:14:34.7233835Z remote: Counting objects:  99% (112/113)        
2022-08-08T10:14:34.7234091Z remote: Counting objects: 100% (113/113)        
2022-08-08T10:14:34.7234348Z remote: Counting objects: 100% (113/113), done.        
2022-08-08T10:14:34.7234733Z remote: Compressing objects:   0% (1/106)        
2022-08-08T10:14:34.7235012Z remote: Compressing objects:   1% (2/106)        
2022-08-08T10:14:34.7235323Z remote: Compressing objects:   2% (3/106)        
2022-08-08T10:14:34.7235600Z remote: Compressing objects:   3% (4/106)        
2022-08-08T10:14:34.7235879Z remote: Compressing objects:   4% (5/106)        
2022-08-08T10:14:34.7236132Z remote: Compressing objects:   5% (6/106)        
2022-08-08T10:14:34.7236400Z remote: Compressing objects:   6% (7/106)        
2022-08-08T10:14:34.7236670Z remote: Compressing objects:   7% (8/106)        
2022-08-08T10:14:34.7236932Z remote: Compressing objects:   8% (9/106)        
2022-08-08T10:14:34.7237195Z remote: Compressing objects:   9% (10/106)        
2022-08-08T10:14:34.7237477Z remote: Compressing objects:  10% (11/106)        
2022-08-08T10:14:34.7237755Z remote: Compressing objects:  11% (12/106)        
2022-08-08T10:14:34.7238013Z remote: Compressing objects:  12% (13/106)        
2022-08-08T10:14:34.7238287Z remote: Compressing objects:  13% (14/106)        
2022-08-08T10:14:34.7238561Z remote: Compressing objects:  14% (15/106)        
2022-08-08T10:14:34.7238816Z remote: Compressing objects:  15% (16/106)        
2022-08-08T10:14:34.7239085Z remote: Compressing objects:  16% (17/106)        
2022-08-08T10:14:34.7239351Z remote: Compressing objects:  17% (19/106)        
2022-08-08T10:14:34.7239622Z remote: Compressing objects:  18% (20/106)        
2022-08-08T10:14:34.7239877Z remote: Compressing objects:  19% (21/106)        
2022-08-08T10:14:34.7240145Z remote: Compressing objects:  20% (22/106)        
2022-08-08T10:14:34.7370142Z remote: Compressing objects:  21% (23/106)        
2022-08-08T10:14:34.7427611Z remote: Compressing objects:  22% (24/106)        
2022-08-08T10:14:34.7453901Z remote: Compressing objects:  23% (25/106)        
2022-08-08T10:14:34.7454213Z remote: Compressing objects:  24% (26/106)        
2022-08-08T10:14:34.7454498Z remote: Compressing objects:  25% (27/106)        
2022-08-08T10:14:34.7454778Z remote: Compressing objects:  26% (28/106)        
2022-08-08T10:14:34.7464816Z remote: Compressing objects:  27% (29/106)        
2022-08-08T10:14:34.7465194Z remote: Compressing objects:  28% (30/106)        
2022-08-08T10:14:34.7465466Z remote: Compressing objects:  29% (31/106)        
2022-08-08T10:14:34.7465746Z remote: Compressing objects:  30% (32/106)        
2022-08-08T10:14:34.7466025Z remote: Compressing objects:  31% (33/106)        
2022-08-08T10:14:34.7466284Z remote: Compressing objects:  32% (34/106)        
2022-08-08T10:14:34.7466558Z remote: Compressing objects:  33% (35/106)        
2022-08-08T10:14:34.7466828Z remote: Compressing objects:  34% (37/106)        
2022-08-08T10:14:34.7467308Z remote: Compressing objects:  35% (38/106)        
2022-08-08T10:14:34.7467563Z remote: Compressing objects:  36% (39/106)        
2022-08-08T10:14:34.7467835Z remote: Compressing objects:  37% (40/106)        
2022-08-08T10:14:34.7468841Z remote: Compressing objects:  38% (41/106)        
2022-08-08T10:14:34.7469118Z remote: Compressing objects:  39% (42/106)        
2022-08-08T10:14:34.7469575Z remote: Compressing objects:  40% (43/106)        
2022-08-08T10:14:34.7470512Z remote: Compressing objects:  41% (44/106)        
2022-08-08T10:14:34.7470816Z remote: Compressing objects:  42% (45/106)        
2022-08-08T10:14:34.7471092Z remote: Compressing objects:  43% (46/106)        
2022-08-08T10:14:34.7471364Z remote: Compressing objects:  44% (47/106)        
2022-08-08T10:14:34.7471634Z remote: Compressing objects:  45% (48/106)        
2022-08-08T10:14:34.7472066Z remote: Compressing objects:  46% (49/106)        
2022-08-08T10:14:34.7473416Z remote: Compressing objects:  47% (50/106)        
2022-08-08T10:14:34.7473719Z remote: Compressing objects:  48% (51/106)        
2022-08-08T10:14:34.7473976Z remote: Compressing objects:  49% (52/106)        
2022-08-08T10:14:34.7474246Z remote: Compressing objects:  50% (53/106)        
2022-08-08T10:14:34.7476371Z remote: Compressing objects:  51% (55/106)        
2022-08-08T10:14:34.7476940Z remote: Compressing objects:  52% (56/106)        
2022-08-08T10:14:34.7477275Z remote: Compressing objects:  53% (57/106)        
2022-08-08T10:14:34.7477551Z remote: Compressing objects:  54% (58/106)        
2022-08-08T10:14:34.7477819Z remote: Compressing objects:  55% (59/106)        
2022-08-08T10:14:34.7478076Z remote: Compressing objects:  56% (60/106)        
2022-08-08T10:14:34.7478345Z remote: Compressing objects:  57% (61/106)        
2022-08-08T10:14:34.7478612Z remote: Compressing objects:  58% (62/106)        
2022-08-08T10:14:34.7478869Z remote: Compressing objects:  59% (63/106)        
2022-08-08T10:14:34.7479135Z remote: Compressing objects:  60% (64/106)        
2022-08-08T10:14:34.7479400Z remote: Compressing objects:  61% (65/106)        
2022-08-08T10:14:34.7479667Z remote: Compressing objects:  62% (66/106)        
2022-08-08T10:14:34.7479920Z remote: Compressing objects:  63% (67/106)        
2022-08-08T10:14:34.7480191Z remote: Compressing objects:  64% (68/106)        
2022-08-08T10:14:34.7480464Z remote: Compressing objects:  65% (69/106)        
2022-08-08T10:14:34.7480719Z remote: Compressing objects:  66% (70/106)        
2022-08-08T10:14:34.7480985Z remote: Compressing objects:  67% (72/106)        
2022-08-08T10:14:34.7481251Z remote: Compressing objects:  68% (73/106)        
2022-08-08T10:14:34.7481506Z remote: Compressing objects:  69% (74/106)        
2022-08-08T10:14:34.7481779Z remote: Compressing objects:  70% (75/106)        
2022-08-08T10:14:34.7482044Z remote: Compressing objects:  71% (76/106)        
2022-08-08T10:14:34.7482308Z remote: Compressing objects:  72% (77/106)        
2022-08-08T10:14:34.7482561Z remote: Compressing objects:  73% (78/106)        
2022-08-08T10:14:34.7482825Z remote: Compressing objects:  74% (79/106)        
2022-08-08T10:14:34.7483090Z remote: Compressing objects:  75% (80/106)        
2022-08-08T10:14:34.7483343Z remote: Compressing objects:  76% (81/106)        
2022-08-08T10:14:34.7483609Z remote: Compressing objects:  77% (82/106)        
2022-08-08T10:14:34.7483873Z remote: Compressing objects:  78% (83/106)        
2022-08-08T10:14:34.7484127Z remote: Compressing objects:  79% (84/106)        
2022-08-08T10:14:34.7484392Z remote: Compressing objects:  80% (85/106)        
2022-08-08T10:14:34.7484659Z remote: Compressing objects:  81% (86/106)        
2022-08-08T10:14:34.7484910Z remote: Compressing objects:  82% (87/106)        
2022-08-08T10:14:34.7485210Z remote: Compressing objects:  83% (88/106)        
2022-08-08T10:14:34.7485479Z remote: Compressing objects:  84% (90/106)        
2022-08-08T10:14:34.7485754Z remote: Compressing objects:  85% (91/106)        
2022-08-08T10:14:34.7486008Z remote: Compressing objects:  86% (92/106)        
2022-08-08T10:14:34.7486348Z remote: Compressing objects:  87% (93/106)        
2022-08-08T10:14:34.7486622Z remote: Compressing objects:  88% (94/106)        
2022-08-08T10:14:34.7486880Z remote: Compressing objects:  89% (95/106)        
2022-08-08T10:14:34.7487202Z remote: Compressing objects:  90% (96/106)        
2022-08-08T10:14:34.7487455Z remote: Compressing objects:  91% (97/106)        
2022-08-08T10:14:34.7487724Z remote: Compressing objects:  92% (98/106)        
2022-08-08T10:14:34.7487988Z remote: Compressing objects:  93% (99/106)        
2022-08-08T10:14:34.7488504Z remote: Compressing objects:  94% (100/106)        
2022-08-08T10:14:34.7488936Z remote: Compressing objects:  95% (101/106)        
2022-08-08T10:14:34.7489215Z remote: Compressing objects:  96% (102/106)        
2022-08-08T10:14:34.7489475Z remote: Compressing objects:  97% (103/106)        
2022-08-08T10:14:34.7489753Z remote: Compressing objects:  98% (104/106)        
2022-08-08T10:14:34.7490030Z remote: Compressing objects:  99% (105/106)        
2022-08-08T10:14:34.7490356Z remote: Compressing objects: 100% (106/106)        
2022-08-08T10:14:34.7490627Z remote: Compressing objects: 100% (106/106), done.        
2022-08-08T10:14:34.7525131Z Receiving objects:   0% (1/113)
2022-08-08T10:14:34.7525856Z Receiving objects:   1% (2/113)
2022-08-08T10:14:34.7526080Z Receiving objects:   2% (3/113)
2022-08-08T10:14:34.7526403Z Receiving objects:   3% (4/113)
2022-08-08T10:14:34.7526888Z Receiving objects:   4% (5/113)
2022-08-08T10:14:34.7527493Z Receiving objects:   5% (6/113)
2022-08-08T10:14:34.7527942Z Receiving objects:   6% (7/113)
2022-08-08T10:14:34.7530782Z Receiving objects:   7% (8/113)
2022-08-08T10:14:34.7531136Z Receiving objects:   8% (10/113)
2022-08-08T10:14:34.7771268Z Receiving objects:   9% (11/113)
2022-08-08T10:14:34.7772109Z Receiving objects:  10% (12/113)
2022-08-08T10:14:34.7772847Z Receiving objects:  11% (13/113)
2022-08-08T10:14:34.7773353Z Receiving objects:  12% (14/113)
2022-08-08T10:14:34.7775978Z Receiving objects:  13% (15/113)
2022-08-08T10:14:34.7776469Z Receiving objects:  14% (16/113)
2022-08-08T10:14:34.7891638Z Receiving objects:  15% (17/113)
2022-08-08T10:14:34.7892189Z Receiving objects:  16% (19/113)
2022-08-08T10:14:34.7892830Z Receiving objects:  17% (20/113)
2022-08-08T10:14:34.7893234Z Receiving objects:  18% (21/113)
2022-08-08T10:14:34.7893888Z Receiving objects:  19% (22/113)
2022-08-08T10:14:34.7894296Z Receiving objects:  20% (23/113)
2022-08-08T10:14:34.7895143Z Receiving objects:  21% (24/113)
2022-08-08T10:14:34.7895558Z Receiving objects:  22% (25/113)
2022-08-08T10:14:34.7896617Z Receiving objects:  23% (26/113)
2022-08-08T10:14:34.7897038Z Receiving objects:  24% (28/113)
2022-08-08T10:14:34.7898502Z Receiving objects:  25% (29/113)
2022-08-08T10:14:34.7900254Z Receiving objects:  26% (30/113)
2022-08-08T10:14:34.7904599Z Receiving objects:  27% (31/113)
2022-08-08T10:14:34.7905077Z Receiving objects:  28% (32/113)
2022-08-08T10:14:34.7906094Z Receiving objects:  29% (33/113)
2022-08-08T10:14:34.7907604Z Receiving objects:  30% (34/113)
2022-08-08T10:14:34.7908781Z Receiving objects:  31% (36/113)
2022-08-08T10:14:34.7909190Z Receiving objects:  32% (37/113)
2022-08-08T10:14:34.7909795Z Receiving objects:  33% (38/113)
2022-08-08T10:14:34.7910193Z Receiving objects:  34% (39/113)
2022-08-08T10:14:34.7910809Z Receiving objects:  35% (40/113)
2022-08-08T10:14:34.7911216Z Receiving objects:  36% (41/113)
2022-08-08T10:14:34.7912588Z Receiving objects:  37% (42/113)
2022-08-08T10:14:34.8216625Z Receiving objects:  38% (43/113)
2022-08-08T10:14:34.8243319Z Receiving objects:  39% (45/113)
2022-08-08T10:14:34.8318401Z Receiving objects:  40% (46/113)
2022-08-08T10:14:34.8400246Z Receiving objects:  41% (47/113)
2022-08-08T10:14:34.8400752Z Receiving objects:  42% (48/113)
2022-08-08T10:14:34.8402351Z Receiving objects:  43% (49/113)
2022-08-08T10:14:34.8402773Z Receiving objects:  44% (50/113)
2022-08-08T10:14:34.8405190Z Receiving objects:  45% (51/113)
2022-08-08T10:14:34.8405621Z Receiving objects:  46% (52/113)
2022-08-08T10:14:34.8411549Z Receiving objects:  47% (54/113)
2022-08-08T10:14:34.8412001Z Receiving objects:  48% (55/113)
2022-08-08T10:14:34.8412618Z Receiving objects:  49% (56/113)
2022-08-08T10:14:34.8413101Z Receiving objects:  50% (57/113)
2022-08-08T10:14:34.8413700Z Receiving objects:  51% (58/113)
2022-08-08T10:14:34.8414082Z Receiving objects:  52% (59/113)
2022-08-08T10:14:34.8414672Z Receiving objects:  53% (60/113)
2022-08-08T10:14:34.8415060Z Receiving objects:  54% (62/113)
2022-08-08T10:14:34.8415626Z Receiving objects:  55% (63/113)
2022-08-08T10:14:34.8416014Z Receiving objects:  56% (64/113)
2022-08-08T10:14:34.8416592Z Receiving objects:  57% (65/113)
2022-08-08T10:14:34.8416970Z Receiving objects:  58% (66/113)
2022-08-08T10:14:34.8417699Z Receiving objects:  59% (67/113)
2022-08-08T10:14:34.8418097Z Receiving objects:  60% (68/113)
2022-08-08T10:14:34.8418678Z Receiving objects:  61% (69/113)
2022-08-08T10:14:34.8419063Z Receiving objects:  62% (71/113)
2022-08-08T10:14:34.8419738Z Receiving objects:  63% (72/113)
2022-08-08T10:14:34.8423911Z Receiving objects:  64% (73/113)
2022-08-08T10:14:34.8424873Z Receiving objects:  65% (74/113)
2022-08-08T10:14:34.8427997Z Receiving objects:  66% (75/113)
2022-08-08T10:14:34.8428723Z Receiving objects:  67% (76/113)
2022-08-08T10:14:34.8436629Z Receiving objects:  68% (77/113)
2022-08-08T10:14:34.8437181Z Receiving objects:  69% (78/113)
2022-08-08T10:14:34.8437501Z Receiving objects:  70% (80/113)
2022-08-08T10:14:34.8438098Z Receiving objects:  71% (81/113)
2022-08-08T10:14:34.8438794Z Receiving objects:  72% (82/113)
2022-08-08T10:14:34.8439396Z Receiving objects:  73% (83/113)
2022-08-08T10:14:34.8439963Z Receiving objects:  74% (84/113)
2022-08-08T10:14:34.8440509Z Receiving objects:  75% (85/113)
2022-08-08T10:14:34.8441129Z Receiving objects:  76% (86/113)
2022-08-08T10:14:34.8441686Z Receiving objects:  77% (88/113)
2022-08-08T10:14:34.8442226Z Receiving objects:  78% (89/113)
2022-08-08T10:14:34.8442770Z Receiving objects:  79% (90/113)
2022-08-08T10:14:34.8443429Z Receiving objects:  80% (91/113)
2022-08-08T10:14:34.8444395Z remote: Total 113 (delta 8), reused 71 (delta 0), pack-reused 0        
2022-08-08T10:14:34.8449425Z Receiving objects:  81% (92/113)
2022-08-08T10:14:34.8449797Z Receiving objects:  82% (93/113)
2022-08-08T10:14:34.8451962Z Receiving objects:  83% (94/113)
2022-08-08T10:14:34.8452608Z Receiving objects:  84% (95/113)
2022-08-08T10:14:34.8453365Z Receiving objects:  85% (97/113)
2022-08-08T10:14:34.8453607Z Receiving objects:  86% (98/113)
2022-08-08T10:14:34.8453827Z Receiving objects:  87% (99/113)
2022-08-08T10:14:34.8454065Z Receiving objects:  88% (100/113)
2022-08-08T10:14:34.8454305Z Receiving objects:  89% (101/113)
2022-08-08T10:14:34.8454529Z Receiving objects:  90% (102/113)
2022-08-08T10:14:34.8454763Z Receiving objects:  91% (103/113)
2022-08-08T10:14:34.8454996Z Receiving objects:  92% (104/113)
2022-08-08T10:14:34.8456320Z Receiving objects:  93% (106/113)
2022-08-08T10:14:34.8456575Z Receiving objects:  94% (107/113)
2022-08-08T10:14:34.8456906Z Receiving objects:  95% (108/113)
2022-08-08T10:14:34.8457826Z Receiving objects:  96% (109/113)
2022-08-08T10:14:34.8460545Z Receiving objects:  97% (110/113)
2022-08-08T10:14:34.8464374Z Receiving objects:  98% (111/113)
2022-08-08T10:14:34.8466731Z Receiving objects:  99% (112/113)
2022-08-08T10:14:34.8467356Z Receiving objects: 100% (113/113)
2022-08-08T10:14:34.8468050Z Receiving objects: 100% (113/113), 3.12 MiB | 32.92 MiB/s, done.
2022-08-08T10:14:34.8492316Z Resolving deltas:   0% (0/8)
2022-08-08T10:14:34.8492680Z Resolving deltas:  12% (1/8)
2022-08-08T10:14:34.8496800Z Resolving deltas:  25% (2/8)
2022-08-08T10:14:34.8497140Z Resolving deltas:  37% (3/8)
2022-08-08T10:14:34.8497832Z Resolving deltas:  50% (4/8)
2022-08-08T10:14:34.8572548Z Resolving deltas:  62% (5/8)
2022-08-08T10:14:34.8578335Z Resolving deltas:  75% (6/8)
2022-08-08T10:14:34.8626147Z Resolving deltas:  87% (7/8)
2022-08-08T10:14:34.8626647Z Resolving deltas: 100% (8/8)
2022-08-08T10:14:34.8627436Z Resolving deltas: 100% (8/8), done.
2022-08-08T10:14:34.8739290Z From https://github.com/mdarif/project-management
2022-08-08T10:14:34.8740021Z  * [new ref]         fe98dc95e94f8721b73f0b0578268e05f10c9351 -> origin/master
2022-08-08T10:14:34.8779046Z ##[endgroup]
2022-08-08T10:14:34.8779733Z ##[group]Determining the checkout info
2022-08-08T10:14:34.8788170Z ##[endgroup]
2022-08-08T10:14:34.8790350Z ##[group]Checking out the ref
2022-08-08T10:14:34.8796482Z [command]/usr/bin/git checkout --progress --force -B master refs/remotes/origin/master
2022-08-08T10:14:34.9123511Z Reset branch 'master'
2022-08-08T10:14:34.9125773Z branch 'master' set up to track 'origin/master'.
2022-08-08T10:14:34.9131140Z ##[endgroup]
2022-08-08T10:14:34.9180407Z [command]/usr/bin/git log -1 --format='%H'
2022-08-08T10:14:34.9229784Z 'fe98dc95e94f8721b73f0b0578268e05f10c9351'
2022-08-08T10:14:34.9541301Z ##[group]Run redkubes/docusaurus-deploy-action@v1
2022-08-08T10:14:34.9541587Z with:
2022-08-08T10:14:34.9541780Z   source-folder: website
2022-08-08T10:14:34.9542000Z   git-user: mdarif
2022-08-08T10:14:34.9542520Z   git-password: ***
2022-08-08T10:14:34.9542764Z   deployment-branch: gh-pages
2022-08-08T10:14:34.9543097Z ##[endgroup]
2022-08-08T10:14:34.9760694Z ##[command]/usr/bin/docker run --name otomidocusaurusdeployactionv11_2a7b63 --label 4cd98f --workdir /github/workspace --rm -e INPUT_SOURCE-FOLDER -e INPUT_GIT-USER -e INPUT_GIT*** INPUT_DEPLOYMENT-BRANCH -e SOURCE_FOLDER -e GIT_USER -e GIT_PASSWORD -e DEPLOYMENT_BRANCH -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_RUN_ATTEMPT -e GITHUB_ACTOR -e GITHUB_TRIGGERING_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_REF_NAME -e GITHUB_REF_PROTECTED -e GITHUB_REF_TYPE -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e GITHUB_STEP_SUMMARY -e RUNNER_OS -e RUNNER_ARCH -e RUNNER_NAME -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/project-management/project-management":"/github/workspace" otomi/docusaurus-deploy-action:v1.1
2022-08-08T10:14:35.3646031Z Source folder: website
2022-08-08T10:14:35.3646846Z Running deploy
2022-08-08T10:14:35.8980742Z npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
2022-08-08T10:14:56.8649610Z 
2022-08-08T10:14:56.8650819Z > core-js@3.24.1 postinstall /github/workspace/website/node_modules/core-js
2022-08-08T10:14:56.8651471Z > node -e "try{require('./postinstall')}catch(e){}"
2022-08-08T10:14:56.8651768Z 
2022-08-08T10:14:56.9449126Z 
2022-08-08T10:14:56.9450383Z > core-js-pure@3.24.1 postinstall /github/workspace/website/node_modules/core-js-pure
2022-08-08T10:14:56.9451053Z > node -e "try{require('./postinstall')}catch(e){}"
2022-08-08T10:14:56.9451379Z 
2022-08-08T10:14:58.0038863Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
2022-08-08T10:14:58.0039449Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
2022-08-08T10:14:58.0042992Z 
2022-08-08T10:14:58.0085641Z added 1085 packages from 729 contributors and audited 1090 packages in 22.162s
2022-08-08T10:14:58.6644056Z 
2022-08-08T10:14:58.6644513Z 198 packages are looking for funding
2022-08-08T10:14:58.6644844Z   run `npm fund` for details
2022-08-08T10:14:58.6644987Z 
2022-08-08T10:14:58.6657955Z found 11 vulnerabilities (5 moderate, 6 high)
2022-08-08T10:14:58.6658646Z   run `npm audit fix` to fix them, or `npm audit` for details
2022-08-08T10:14:58.9713927Z 
2022-08-08T10:14:58.9714434Z > website@0.0.0 deploy /github/workspace/website
2022-08-08T10:14:58.9714757Z > docusaurus deploy
2022-08-08T10:14:58.9714908Z 
2022-08-08T10:15:01.0690059Z [ERROR] Minimum Node.js version not met :(
2022-08-08T10:15:01.0704853Z [INFO] You are using Node.js v14.19.1, Requirement: Node.js >=16.14.
2022-08-08T10:15:01.0838665Z npm ERR! code ELIFECYCLE
2022-08-08T10:15:01.0839011Z npm ERR! errno 1
2022-08-08T10:15:01.0870435Z npm ERR! website@0.0.0 deploy: `docusaurus deploy`
2022-08-08T10:15:01.0870742Z npm ERR! Exit status 1
2022-08-08T10:15:01.0871174Z npm ERR! 
2022-08-08T10:15:01.0871736Z npm ERR! Failed at the website@0.0.0 deploy script.
2022-08-08T10:15:01.0872141Z npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2022-08-08T10:15:01.0974951Z 
2022-08-08T10:15:01.0975290Z npm ERR! A complete log of this run can be found in:
2022-08-08T10:15:01.0976090Z npm ERR!     /github/home/.npm/_logs/2022-08-08T10_15_01_090Z-debug.log
2022-08-08T10:15:05.0026780Z Post job cleanup.
2022-08-08T10:15:05.1268507Z [command]/usr/bin/git version
2022-08-08T10:15:05.1325137Z git version 2.37.1
2022-08-08T10:15:05.1379757Z Temporarily overriding HOME='/home/runner/work/_temp/2b3d5162-55a1-4aa3-8c77-6cd144f96b63' before making global git config changes
2022-08-08T10:15:05.1383445Z Adding repository directory to the temporary git global config as a safe directory
2022-08-08T10:15:05.1391457Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/project-management/project-management
2022-08-08T10:15:05.1439565Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2022-08-08T10:15:05.1480249Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2022-08-08T10:15:05.1729759Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2022-08-08T10:15:05.1757433Z http.https://github.com/.extraheader
2022-08-08T10:15:05.1768624Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2022-08-08T10:15:05.1805858Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2022-08-08T10:15:05.2350248Z Uploading runner diagnostic logs
2022-08-08T10:15:05.2522752Z Completed runner diagnostic log upload
2022-08-08T10:15:05.2523185Z Cleaning up orphan processes
mdarif commented 2 years ago

Setting up actions/setup-node@v3 also didn't help, hope to get some quick help mate still getting the same error as above.

Ygilany commented 2 years ago

~Also having the same issue.~ You need to - uses: redkubes/docusaurus-deploy-action@v1.2 instead of v1.1

mdarif commented 2 years ago

Also having the same issue.

Thanks now build is successful but right outcome still not reflecting on https://mdarif.github.io/project-management/ still getting 404 File not found.

mdarif commented 2 years ago

Docusaurus Config docusaurus.config.js:

// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const lightCodeTheme = require('prism-react-renderer/themes/github')
const darkCodeTheme = require('prism-react-renderer/themes/dracula')

/** @type {import('@docusaurus/types').Config} */
const config = {
  title: 'A Dockerize MERN App',
  tagline:
    'A Dockerize MERN app using Github Actions to push Docker Images to Docker Hub automatically.',
  url: 'https://mdarif.github.io/',
  baseUrl: '/project-management/',
  onBrokenLinks: 'ignore',
  onBrokenMarkdownLinks: 'warn',
  favicon: 'img/favicon.ico',
  deploymentBranch: 'gh-pages',

  // GitHub pages deployment config.
  // If you aren't using GitHub pages, you don't need these.
  organizationName: 'mdarif', // Usually your GitHub org/user name.
  projectName: 'project-management', // Usually your repo name.

  // Even if you don't use internalization, you can use this field to set useful
  // metadata like html lang. For example, if your site is Chinese, you may want
  // to replace "en" with "zh-Hans".
  i18n: {
    defaultLocale: 'en',
    locales: ['en']
  },

  presets: [
    [
      'classic',
      /** @type {import('@docusaurus/preset-classic').Options} */
      ({
        docs: {
          sidebarPath: require.resolve('./sidebars.js'),
          // Please change this to your repo.
          // Remove this to remove the "edit this page" links.
          editUrl:
            'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/'
        },
        blog: {
          showReadingTime: true,
          // Please change this to your repo.
          // Remove this to remove the "edit this page" links.
          editUrl:
            'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/'
        },
        theme: {
          customCss: require.resolve('./src/css/custom.css')
        }
      })
    ]
  ],

  themeConfig:
    /** @type {import('@docusaurus/preset-classic').ThemeConfig} */
    ({
      navbar: {
        title: 'Project Management',
        logo: {
          alt: 'Project Management Logo',
          src: 'img/logo.svg'
        },
        items: [
          {
            to: 'docs/introduction/getting-started',
            position: 'left',
            label: 'Getting Started'
          },
          {
            to: 'docs/tutorials/intro',
            position: 'left',
            label: 'Tutorials'
          },
          // { to: '/blog', label: 'Blog', position: 'left' },
          {
            href: 'https://github.com/mdarif/project-management',
            position: 'left',
            label: 'GitHub'
          }
        ]
      },
      footer: {
        style: 'dark',
        links: [
          {
            title: 'Docs',
            items: [
              {
                label: 'Tutorial',
                to: '/docs/tutorials/intro'
              }
            ]
          },
          {
            title: 'Community',
            items: [
              {
                label: 'Stack Overflow',
                href: 'https://stackoverflow.com/questions/tagged/docusaurus'
              },
              {
                label: 'Discord',
                href: 'https://discordapp.com/invite/docusaurus'
              },
              {
                label: 'Twitter',
                href: 'https://twitter.com/docusaurus'
              }
            ]
          },
          {
            title: 'More',
            items: [
              {
                label: 'GitHub',
                href: 'https://github.com/facebook/docusaurus'
              }
            ]
          }
        ],
        copyright: `Copyright © ${new Date().getFullYear()} Mohammad Arif`
      },
      prism: {
        theme: lightCodeTheme,
        darkTheme: darkCodeTheme
      }
    })
}

module.exports = config
Ygilany commented 2 years ago

@mdarif try removing the extra slash at the end of your url

mdarif commented 2 years ago

const config = { title: 'A Dockerize MERN App', tagline: 'A Dockerize MERN app using Github Actions to push Docker Images to Docker Hub automatically.', url: 'https://mdarif.github.io/',

Didn't help the below change mate...

const config = {
  ...
  url: 'https://mdarif.github.io',
mdarif commented 2 years ago

Any further pointer?

Morriz commented 2 years ago

this repo will be deprecated soon, and I suggest to follow docusaurus docs on publishing to github: https://docusaurus.io/docs/deployment#deploying-to-github-pages