From 5b7cf4e4d060f856c05d9d0c04e262f7fe3946eb Mon Sep 17 00:00:00 2001 From: HenryV Date: Thu, 13 Feb 2025 10:30:10 +0100 Subject: [PATCH] Testing workflow --- .gitea/workflows/upload_site.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/upload_site.yaml b/.gitea/workflows/upload_site.yaml index 8fd04cb..d8e9293 100644 --- a/.gitea/workflows/upload_site.yaml +++ b/.gitea/workflows/upload_site.yaml @@ -13,12 +13,14 @@ jobs: - name: Install Go run: sudo apt install golang-go -y - - name: Preparing the Go compiler - run: echo 'CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest' + - name: Building Hugo + run: go install github.com/gohugoio/hugo@latest - name: Check out repository code uses: actions/checkout@v4 - - name: List files in the repository - run: ls ${{ gitea.workspace }} + - name: Generate the website + run: hugo ${{ gitea.workspace }} + - name: Test of files are there + run ls ${{ gitea.workspace }}/public