Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: index.html not shown #352

Closed
2 tasks done
h4rvey-g opened this issue Jun 22, 2024 · 1 comment
Closed
2 tasks done

[Bug]: index.html not shown #352

h4rvey-g opened this issue Jun 22, 2024 · 1 comment
Assignees
Labels
🐛 Bug Something isn't working

Comments

@h4rvey-g
Copy link

Issue validation

  • I checked the issue to prevent duplicate
  • I checked my configurations files and the documentation

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
@h4rvey-g h4rvey-g added the 🐛 Bug Something isn't working label Jun 22, 2024
@Mara-Li
Copy link
Member

Mara-Li commented Jun 22, 2024

It's an issue with Quartz. Not Enveloppe.

@Mara-Li Mara-Li closed this as not planned Won't fix, can't repro, duplicate, stale Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants