mirror of
				https://github.com/adityatelange/hugo-PaperMod.git
				synced 2025-11-04 10:22:44 +01:00 
			
		
		
		
	Update GitHub Actions workflows to use latest versions of dependencies
This commit is contained in:
		
							
								
								
									
										8
									
								
								.github/workflows/gh-pages.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/gh-pages.yml
									
									
									
									
										vendored
									
									
								
							@@ -45,12 +45,12 @@ jobs:
 | 
			
		||||
          wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_linux-amd64.deb \
 | 
			
		||||
          && sudo dpkg -i ${{ runner.temp }}/hugo.deb
 | 
			
		||||
      - name: Checkout
 | 
			
		||||
        uses: actions/checkout@v3
 | 
			
		||||
        uses: actions/checkout@v4
 | 
			
		||||
        with:
 | 
			
		||||
          ref: exampleSite
 | 
			
		||||
      - name: Setup Pages
 | 
			
		||||
        id: pages
 | 
			
		||||
        uses: actions/configure-pages@v3
 | 
			
		||||
        uses: actions/configure-pages@v5
 | 
			
		||||
      - name: Get Theme
 | 
			
		||||
        run: git submodule update --init --recursive
 | 
			
		||||
      - name: Update theme to Latest commit
 | 
			
		||||
@@ -61,7 +61,7 @@ jobs:
 | 
			
		||||
            --buildDrafts --gc \
 | 
			
		||||
            --baseURL ${{ steps.pages.outputs.base_url }}
 | 
			
		||||
      - name: Upload artifact
 | 
			
		||||
        uses: actions/upload-pages-artifact@v2
 | 
			
		||||
        uses: actions/upload-pages-artifact@v3
 | 
			
		||||
        with:
 | 
			
		||||
          path: ./public
 | 
			
		||||
  # Deployment job
 | 
			
		||||
@@ -74,4 +74,4 @@ jobs:
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Deploy to GitHub Pages
 | 
			
		||||
        id: deployment
 | 
			
		||||
        uses: actions/deploy-pages@v2
 | 
			
		||||
        uses: actions/deploy-pages@v4
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user