GithubHelp home page GithubHelp logo

demo-build-and-publish-gitbook's People

Contributors

onejar99 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

demo-build-and-publish-gitbook's Issues

我的action執行不成功,求助

您好,我參考您的代碼做了一個workflow,去年可以工作,但是我今天 發現action一直無法成功,從log來看,好像是anchor-navigation-ex插件的問題,你那裡能正常工作嗎?

我的action

在github page 設定完 Custom domain 後,新的 push 會使 Custom domain 消失

您好,最近在設定自己的 gitbook, 參考完你的文章後受益良多,但由於對 gihub page 及 github action 的機制不是很了解,想要請教一下:

我依照你給的 build.yaml 建立完 yaml 檔後(如下), 可以成功建立 gitbook, 但每次再去 setting -> page 設定完 custom domain 後(ex: leetcode.shdennlin.com),當下是可以 chame 成功的,但在新的 commit push上github時,custom domain 就會消失,會變成github預設的 shdennlin.github.io/leetcode ,想請教該如何在 github 的 workflow 解決,謝謝

name: Build and Publish My GitBook

on:
  workflow_dispatch:
  push:
    branches:
      - main

jobs:
  build-and-deploy:
    name: Build and deploy
    runs-on: ubuntu-latest

    env:
      MY_SECRET   : ${{secrets.GH_ACCESS_TOKEN}}
      USER_NAME   : shdennlin
      USER_EMAIL  : [email protected]
      BOOK_DIR    : .

    steps:
    - name: Checkout 🛎️
      uses: actions/[email protected]

    - run: npm i gitbook-plugin-sitemap

    - name: Build and Deploy 🚀
      uses: onejar99/[email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.