A problem with deployment


AFter modifying all the files I pushed everything and run the command: bin/deploy – user. However, no URL is generated and I don’t receive a green checkmark on my repo. This is the content of deploy.uml file

name: deploy

      - master
      - main
      - master
      - main

  contents: write

    # available images: https://github.com/actions/runner-images#available-images
    runs-on: ubuntu-latest
    - name: Checkout 🛎️
      uses: actions/checkout@v3
    - name: Setup Ruby
      uses: ruby/setup-ruby@v1
        ruby-version: '3.2.2'
        bundler-cache: true
    - name: Update _config.yml ⚙️
      uses: fjogeleit/yaml-update-action@v0.13.1
        commitChange: false
        valueFile: '_config.yml'
        propertyPath: 'giscus.repo'
        value: ${{ github.repository }}
    - name: Install and Build 🔧
      run: |
        pip3 install --upgrade jupyter
        npm install -g mermaid.cli
        npm install -g purgecss
        export JEKYLL_ENV=production
        bundle exec jekyll build --lsi
        purgecss -c purgecss.config.js
    - name: Deploy 🚀
      if: github.event_name != 'pull_request'
      uses: JamesIves/github-pages-deploy-action@v4
        folder: _site

And this is the error I am getting:

Error: Logging at level: debug Configuration file: /github/workspace/./_config.yml GitHub Pages: github-pages v228 GitHub Pages: jekyll v3.9.3 Theme: jekyll-theme-primer Theme source: /usr/local/bundle/gems/jekyll-theme-primer-0.6.0 Requiring: jekyll-github-metadata Requiring: jekyll-seo-tag Requiring: jekyll-feed Requiring: jekyll-sitemap Requiring: jemoji Requiring: jekyll-coffeescript Requiring: jekyll-commonmark-ghpages Requiring: jekyll-gist Requiring: jekyll-github-metadata Requiring: jekyll-paginate Requiring: jekyll-relative-links Requiring: jekyll-optional-front-matter Requiring: jekyll-readme-index Requiring: jekyll-default-layout Requiring: jekyll-titles-from-headings GitHub Metadata: Initializing… Source: /github/workspace/. Destination: /github/workspace/./_site Incremental build: disabled. Enable with --incremental Generating… EntryFilter: excluded /Gemfile EntryFilter: excluded /bin Reading: _posts/2018-12-22-distill.md Reading: _posts/2020-09-28-twitter.md Reading: _posts/2015-05-15-images.md Reading: _posts/2023-11-27-code.md Reading: _posts/2022-02-01-redirect.md Reading: _posts/2015-03-15-formatting-and-links.md Reading: _posts/2023-07-12-post-bibliography.md Generating: JekyllOptionalFrontMatter::Generator finished in 0.000214953 seconds. Generating: JekyllReadmeIndex::Generator finished in 0.00117622 seconds. Jekyll Feed: Generating feed for posts Generating: JekyllFeed::Generator finished in 0.000644705 seconds. Generating: Jekyll::JekyllSitemap finished in 0.000918378 seconds. Generating: Jekyll::Paginate::Pagination finished in 3.066e-06 seconds. Generating: JekyllRelativeLinks::Generator finished in 0.000551321 seconds. Generating: JekyllDefaultLayout::Generator finished in 0.000259886 seconds. Generating: JekyllTitlesFromHeadings::Generator finished in 1.6571e-05 seconds. Rendering: 404.html Pre-Render Hooks: 404.html Rendering Liquid: 404.html GitHub Metadata: Generating for AyoubAjarra/ayoubajarra.github.io GitHub Metadata: Calling @client.pages(“AyoubAjarra/ayoubajarra.github.io”, {}) Rendering Markup: 404.html Rendering Layout: 404.html Layout source: site github-pages 228 | Error: Liquid syntax error (line 17): Unknown tag ‘bibliography’

Can anyone help please?

looks like an error on your 404.html page? it is unhappy with Unknown tag ‘bibliography’ are you using some sort of custom liquid tag for that? check line 17 in the 404.html page and see what is there.

Hi, “404.html file” contains this

layout: page
permalink: /404.html
title: "Page not found"
description: "Looks like there has been a mistake. Nothing exists here."
redirect: true

<p>You will be redirected to the main page within 3 seconds. If not redirected, please go back to the <a href="{{ site.baseurl }}/">home page</a>.</p>

There’s no line 17. I guess the problem comes from bibliography.