mirror of
				https://github.com/karl0ss/homepage.git
				synced 2025-11-04 08:20:58 +00:00 
			
		
		
		
	update build for insiders
This commit is contained in:
		
							parent
							
								
									86d3fc4fbb
								
							
						
					
					
						commit
						7a6470381b
					
				
							
								
								
									
										10
									
								
								.github/workflows/docs-publish.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								.github/workflows/docs-publish.yml
									
									
									
									
										vendored
									
									
								
							@ -5,7 +5,7 @@ on:
 | 
				
			|||||||
    tags: [ 'v*.*.*' ]
 | 
					    tags: [ 'v*.*.*' ]
 | 
				
			||||||
    branches: ['main']
 | 
					    branches: ['main']
 | 
				
			||||||
  workflow_dispatch:
 | 
					  workflow_dispatch:
 | 
				
			||||||
  
 | 
					
 | 
				
			||||||
permissions:
 | 
					permissions:
 | 
				
			||||||
  contents: write
 | 
					  contents: write
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -26,7 +26,7 @@ jobs:
 | 
				
			|||||||
          path: .cache
 | 
					          path: .cache
 | 
				
			||||||
          restore-keys: |
 | 
					          restore-keys: |
 | 
				
			||||||
            mkdocs-material-
 | 
					            mkdocs-material-
 | 
				
			||||||
      - run: sudo apt-get install pngquant 
 | 
					      - run: sudo apt-get install pngquant
 | 
				
			||||||
      - run: pip install mike
 | 
					      - run: pip install mike
 | 
				
			||||||
      - run: pip install git+https://${GH_TOKEN}@github.com/benphelps/mkdocs-material-insiders.git
 | 
					      - run: pip install git+https://${GH_TOKEN}@github.com/benphelps/mkdocs-material-insiders.git
 | 
				
			||||||
      - name: Set Git config
 | 
					      - name: Set Git config
 | 
				
			||||||
@ -41,9 +41,9 @@ jobs:
 | 
				
			|||||||
          git checkout main
 | 
					          git checkout main
 | 
				
			||||||
      - name: Mike Deploy for Main
 | 
					      - name: Mike Deploy for Main
 | 
				
			||||||
        if: github.ref == 'refs/heads/main'
 | 
					        if: github.ref == 'refs/heads/main'
 | 
				
			||||||
        run: mike deploy --update --push ${{github.ref_name}}
 | 
					        run: MKINSIDERS=true mike deploy --update --push ${{github.ref_name}}
 | 
				
			||||||
      - name: Mike Deploy for Tags
 | 
					      - name: Mike Deploy for Tags
 | 
				
			||||||
        if: github.ref != 'refs/heads/main'
 | 
					        if: github.ref != 'refs/heads/main'
 | 
				
			||||||
        run: mike deploy --update --push ${{github.ref_name}} latest
 | 
					        run: MKINSIDERS=true mike deploy --update --push ${{github.ref_name}} latest
 | 
				
			||||||
env:
 | 
					env:
 | 
				
			||||||
  GH_TOKEN: ${{ secrets.GH_TOKEN }} 
 | 
					  GH_TOKEN: ${{ secrets.GH_TOKEN }}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user