Update hugo.yml
This commit is contained in:
		
							parent
							
								
									a1cd6b76fe
								
							
						
					
					
						commit
						0adcc9e270
					
				| 
						 | 
					@ -22,13 +22,6 @@ defaults:
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  build:
 | 
					  build:
 | 
				
			||||||
    runs-on: self-hosted
 | 
					    runs-on: self-hosted
 | 
				
			||||||
    env:
 | 
					 | 
				
			||||||
      HUGO_VERSION: 0.120.4
 | 
					 | 
				
			||||||
    steps:
 | 
					 | 
				
			||||||
      - name: Install Hugo CLI
 | 
					 | 
				
			||||||
        run: |
 | 
					 | 
				
			||||||
          wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
 | 
					 | 
				
			||||||
          && sudo dpkg -i ${{ runner.temp }}/hugo.deb
 | 
					 | 
				
			||||||
      - name: Checkout
 | 
					      - name: Checkout
 | 
				
			||||||
        uses: actions/checkout@v4
 | 
					        uses: actions/checkout@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
| 
						 | 
					@ -36,8 +29,6 @@ jobs:
 | 
				
			||||||
      - name: Setup Pages
 | 
					      - name: Setup Pages
 | 
				
			||||||
        id: pages
 | 
					        id: pages
 | 
				
			||||||
        uses: actions/configure-pages@v4
 | 
					        uses: actions/configure-pages@v4
 | 
				
			||||||
      - name: Install Node.js dependencies
 | 
					 | 
				
			||||||
        run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
 | 
					 | 
				
			||||||
      - name: Build with Hugo
 | 
					      - name: Build with Hugo
 | 
				
			||||||
        env:
 | 
					        env:
 | 
				
			||||||
          HUGO_ENVIRONMENT: production
 | 
					          HUGO_ENVIRONMENT: production
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue