Skip to content

Commit

Permalink
ci(deploy): Fix website origin
Browse files Browse the repository at this point in the history
Signed-off-by: Helio Chissini de Castro <[email protected]>
  • Loading branch information
heliocastro committed Feb 14, 2024
1 parent 95f2527 commit b7c8dbc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand All @@ -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]
Expand Down

0 comments on commit b7c8dbc

Please sign in to comment.