SafEight
2022-11-19 de2b6b9a1b95cb6af7eb421d9a4de054e7e41315
.github/workflows/deploy.yaml
@@ -7,21 +7,24 @@
jobs:
  deploy:
    runs-on: ubuntu-18.04
    runs-on: ubuntu-20.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.5
        uses: jackyzha0/hugo-obsidian@v2.18
        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