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