diff --git a/.forgejo/workflows/deploy_site.yaml b/.forgejo/workflows/deploy_site.yaml index 8393a2b..8dc280e 100644 --- a/.forgejo/workflows/deploy_site.yaml +++ b/.forgejo/workflows/deploy_site.yaml @@ -1,8 +1,10 @@ +name: Build and deploy site (workflow) on: [push] env: GOROOT: /usr/local/lib/go jobs: deploy_site: + name: Build and deploy site (job) runs-on: docker container: image: git.korhonen.cc/functionalhacker/hugo-asciidoc-docker-ci:latest @@ -11,5 +13,7 @@ jobs: steps: - name: Checkout uses: https://github.com/actions/checkout@v4 - - run: npm install - - run: hugo --gc --minify --cleanDestinationDir -d /korhonen.cc + - name: Install NPM packages + run: npm install + - name: Run Hugo + run: hugo --gc --minify --cleanDestinationDir -d /korhonen.cc