Enveloppe / obsidian-enveloppe

Enveloppe helps you to publish your notes on a GitHub repository from your Obsidian Vault, for free!
https://enveloppe.github.io/
Apache License 2.0
636 stars 39 forks source link

[Bug]: index.html not shown #352

Closed h4rvey-g closed 4 months ago

h4rvey-g commented 4 months ago

Issue validation

Command used

Upload single current active note

Plugin version

7.2.8

Describe the bug

Hello! I've used your Quartz repo as template. The uploading and deploying seems fine. But when I go to my site (https://www.h4rvey.com/), it shows image When I go to https://www.h4rvey.com/hidden/ , it shows the page that I want to display as homepage image Here's the github pages I downloaded from actions. github-pages.zip

What's the problem here? Thank you for your time.

How to reproduce ?

No response

Minimal Reproducible Example

name: Deploy Quartz site to GitHub Pages

on:
  push:
    branches:
      - v4
  repository_dispatch:
    types: [build]
  workflow_dispatch:

permissions:
  contents: read
  pages: write
  id-token: write

concurrency:
  group: "pages"
  cancel-in-progress: false

jobs:
  build:
    runs-on: ubuntu-22.04
    steps:
      - uses: actions/checkout@v4
        with:
          token: ${{ secrets.GH_PAT }}
          fetch-depth: 0 # Fetch all history for git info
          submodules: "recursive"
      - name: install pnpm
        uses: pnpm/action-setup@v4
        with:
          version: latest
      - name: Convert package-lock.json to package-lock.yaml
        run: pnpm import
      - uses: actions/setup-node@v4
        with:
          node-version: 18.14
          cache: "pnpm"
      - name: Fetch submodules
        continue-on-error: true
        run: |
          git submodule update --init --recursive --checkout -f --remote -- "content"
          git config --global user.name "GitHub Action"
          git config --global user.email "noreply@github.com"
          git commit -am "chore (update): fetch submodule"
          git push
      - name: Install Dependencies
        run: pnpm install --no-frozen-lockfile
      - name: Build Quartz
        run: npx quartz build
      - name: Upload artifact
        uses: actions/upload-pages-artifact@v3
        with:
          path: public

  deploy:
    needs: build
    environment:
      name: github-pages
      url: ${{ steps.deployment.outputs.page_url }}
    runs-on: ubuntu-latest
    steps:
      - name: Deploy to GitHub Pages
        id: deployment
        uses: actions/deploy-pages@v4

Configuration

{
  "github": {
    "branch": "v4",
    "automaticallyMergePR": true,
    "dryRun": {
      "enable": false,
      "folderName": "github-publisher"
    },
    "tokenPath": ".obsidian/plugins/obsidian-mkdocs-publisher/env",
    "api": {
      "tiersForApi": "Github Free/Pro/Team (default)",
      "hostname": ""
    },
    "workflow": {
      "commitMessage": "PUBLISHER",
      "name": ""
    },
    "verifiedRepo": true
  },
  "upload": {
    "behavior": "yaml",
    "defaultName": "content/hidden",
    "rootFolder": "content",
    "yamlFolderKey": "category",
    "frontmatterTitle": {
      "enable": true,
      "key": "name"
    },
    "replaceTitle": [],
    "replacePath": [],
    "autoclean": {
      "enable": true,
      "excluded": []
    },
    "folderNote": {
      "enable": true,
      "rename": "index.md",
      "addTitle": {
        "enable": false,
        "key": "title"
      }
    },
    "metadataExtractorPath": "",
    "subFolder": ""
  },
  "conversion": {
    "hardbreak": false,
    "dataview": false,
    "censorText": [],
    "tags": {
      "inline": true,
      "exclude": [],
      "fields": []
    },
    "links": {
      "internal": true,
      "unshared": false,
      "wiki": false,
      "slugify": false
    }
  },
  "embed": {
    "attachments": true,
    "overrideAttachments": [],
    "keySendFile": [
      "image"
    ],
    "notes": true,
    "folder": "content/img",
    "convertEmbedToLinks": "keep",
    "charConvert": "->",
    "forcePushAttachments": []
  },
  "plugin": {
    "shareKey": "share",
    "excludedFolder": [
      "SimpRead",
      "template",
      "Files"
    ],
    "copyLink": {
      "enable": false,
      "links": "",
      "removePart": [],
      "transform": {
        "toUri": true,
        "slugify": "lower",
        "applyRegex": []
      }
    },
    "setFrontmatterKey": "Set"
  },
  "tabsId": "help"
}

Relevant log output

No response

OS

No response

Anything else?

No response

Obsidian information

v1.6.3
Mara-Li commented 4 months ago

It's an issue with Quartz. Not Enveloppe.