diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 0079874..5450223 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -10,17 +10,19 @@ jobs: runs-on: ubuntu-latest steps: - # - name: Fetch repo - # uses: actions/checkout@v3 - # with: - # submodules: true # Fetch Hugo themes (true OR recursive) - # fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod + - name: Fetch repo + uses: actions/checkout@v3 + with: + submodules: true # Fetch Hugo themes (true OR recursive) + fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod + + - name: Setup Hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: '0.110.0' + # extended: true - name: Build - uses: https://github.com/peaceiris/actions-hugo@v2.6.0 - with: - hugo-version: "0.110.0" - extended: true run: hugo --minify - name: Deploy