Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Discussion options

You must be logged in to vote

Ok here is a working version that adds an empty .obsidian directory to the root of clone-path:

name: Publish to gh-pages branch
on:
  push:
    branches:
      - main
jobs:
  build:
    runs-on: ubuntu-latest
    name: Build and Push
    steps:
      - name: Checkout main
        uses: actions/checkout@v3
        with:
          ref: main
          path: clone-path

      - name: Install dependencies and run build
        run: |
          cd ${{ github.workspace }}
          pip install --upgrade pip
          pip install obsidianhtml
          mkdir clone-path/.obsidian # this folder needs to exist so obsidianhtml can find the root of the vault
          obsidianhtml convert -i clone-pat…

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
3 replies
@dwrolvink
Comment options

@katylava
Comment options

@dwrolvink
Comment options

Comment options

You must be logged in to vote
6 replies
@katylava
Comment options

@katylava
Comment options

@Gewerd-Strauss
Comment options

@blacklightpy
Comment options

@katylava
Comment options

Answer selected by katylava
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants