Jacky Zhao
2022-07-31 54a8fd4a563bd3de815aaae2c9d9efd57e65be22
.github/workflows/deploy.yaml
@@ -10,18 +10,21 @@
    runs-on: ubuntu-18.04
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0    # Fetch all history for .GitInfo and .Lastmod
      - name: Build Link Index
        uses: jackyzha0/hugo-obsidian@v2.8
        uses: jackyzha0/hugo-obsidian@v2.15
        with:
          index: true
          input: content
          output: data
          output: assets/indices
          root: .
      - name: Setup Hugo
        uses: peaceiris/actions-hugo@v2
        with:
          hugo-version: '0.82.0'
          hugo-version: '0.96.0'
          extended: true
      - name: Build
@@ -33,4 +36,4 @@
          github_token: ${{ secrets.GITHUB_TOKEN }}
          publish_dir: ./public
          publish_branch: master  # deploying branch
          cname: quartz.jzhao.xyz
          cname: quartz.jzhao.xyz