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 \
 | 
					          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
 | 
					          && sudo dpkg -i ${{ runner.temp }}/hugo.deb
 | 
				
			||||||
      - name: Checkout
 | 
					      - name: Checkout
 | 
				
			||||||
        uses: actions/checkout@v3
 | 
					        uses: actions/checkout@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          ref: exampleSite
 | 
					          ref: exampleSite
 | 
				
			||||||
      - name: Setup Pages
 | 
					      - name: Setup Pages
 | 
				
			||||||
        id: pages
 | 
					        id: pages
 | 
				
			||||||
        uses: actions/configure-pages@v3
 | 
					        uses: actions/configure-pages@v5
 | 
				
			||||||
      - name: Get Theme
 | 
					      - name: Get Theme
 | 
				
			||||||
        run: git submodule update --init --recursive
 | 
					        run: git submodule update --init --recursive
 | 
				
			||||||
      - name: Update theme to Latest commit
 | 
					      - name: Update theme to Latest commit
 | 
				
			||||||
@@ -61,7 +61,7 @@ jobs:
 | 
				
			|||||||
            --buildDrafts --gc \
 | 
					            --buildDrafts --gc \
 | 
				
			||||||
            --baseURL ${{ steps.pages.outputs.base_url }}
 | 
					            --baseURL ${{ steps.pages.outputs.base_url }}
 | 
				
			||||||
      - name: Upload artifact
 | 
					      - name: Upload artifact
 | 
				
			||||||
        uses: actions/upload-pages-artifact@v2
 | 
					        uses: actions/upload-pages-artifact@v3
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          path: ./public
 | 
					          path: ./public
 | 
				
			||||||
  # Deployment job
 | 
					  # Deployment job
 | 
				
			||||||
@@ -74,4 +74,4 @@ jobs:
 | 
				
			|||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Deploy to GitHub Pages
 | 
					      - name: Deploy to GitHub Pages
 | 
				
			||||||
        id: deployment
 | 
					        id: deployment
 | 
				
			||||||
        uses: actions/deploy-pages@v2
 | 
					        uses: actions/deploy-pages@v4
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user