From da2f2c17164a17fe1d231a34086f40230d7455d5 Mon Sep 17 00:00:00 2001 From: somrat sorkar Date: Mon, 26 Jun 2023 13:50:44 +0600 Subject: [PATCH] test workflow --- .github/workflows/hugo.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index dbfb760..e5e0a6a 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -53,7 +53,12 @@ jobs: run: npm install - name: Publish to GitHub Pages - run: npm run build + run: | + hugo \ + --gc \ + --minify \ + --baseURL "${{ steps.pages.outputs.base_url }}/" + echo "SITE BUILT SUCCESSFULLY! LIVE AT: ${{ steps.pages.outputs.base_url }}" - name: Upload artifact uses: actions/upload-pages-artifact@v1