diff --git a/.github/workflows/build_and_publish.yml b/.github/workflows/build_and_publish.yml index f00b24e..1d8fcfd 100644 --- a/.github/workflows/build_and_publish.yml +++ b/.github/workflows/build_and_publish.yml @@ -37,7 +37,7 @@ jobs: hugo-version: '0.111.3' extended: true - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: /tmp/hugo_cache key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.sum') }} @@ -48,16 +48,16 @@ jobs: shell: bash run: | mkdir -p themes/docsy - hugo --minify -b . + hugo --minify -b 'https://www.eclipse.org/sw360/' - name: Archive - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: website path: ./public - if: startsWith(github.ref, 'refs/tags/') create_release: + if: startsWith(github.ref, 'refs/tags/') name: Archive and Published Tagged Build runs-on: ubuntu-latest needs: [build_website]