Uploaded image for project: 'MariaDB Foundation Development'
  1. MariaDB Foundation Development
  2. MDBF-1161

Syncing mariadb-for-universities repo to website is failing

    XMLWordPrintable

Details

    Description

      Running the "Build and Deploy Hugo Site" GitHub action to sync the repo to the website fails with "Process completed with exit code 2"

      Vlad has investigated:

      Status: Downloaded newer image for lycheeverse/lychee:latest
      https://github.com/MariaDB/mariadb-for-universities/actions/runs/21400495770/job/61609918578#step:5:25error: invalid value 'html_site' for '--base <BASE>': Error with base dir html_site : Base must either be a URL (with scheme) or an absolute local path. See --help for more information. If you want to resolve root-relative links in local files, also see --root-dir.

      this is the error for the build run and i think it's because the workflow is configured to download the latest docker image of lychee

      the full command for the workflow on that step is:
      run: |
      docker run --rm -t -v $(pwd):/src -w /src lycheeverse/lychee:latest \
      --base html_site \
      --exclude "(github|gitlab|www.linkedin).com" \
      --exclude "^javascript:" \
      -n -v html_site/*/.html

      but --base is now deprecated

      according to the arguments listed here: https://github.com/lycheeverse/lychee#commandline-parameters

      so the command should be updated to use --base-url with the correct address or the docker image should be restricted to a version which accepted that argument

      Attachments

        Activity

          People

            rsilen Robert Silén
            greenman Ian Gilfillan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 3h
                3h