mirror of
				https://github.com/fastapi-users/fastapi-users.git
				synced 2025-11-04 22:56:56 +08:00 
			
		
		
		
	Fix CI doc
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/documentation.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/documentation.yml
									
									
									
									
										vendored
									
									
								
							@ -29,7 +29,7 @@ jobs:
 | 
				
			|||||||
        uses: battila7/get-version-action@v2
 | 
					        uses: battila7/get-version-action@v2
 | 
				
			||||||
      - name: Deploy
 | 
					      - name: Deploy
 | 
				
			||||||
        env:
 | 
					        env:
 | 
				
			||||||
          DOC_TAG: ${{ steps.version_tag.outputs.version && format('{0}.{1}', steps.version_tag.outputs.major, steps.version_tag.outputs.minor) || 'dev' }}
 | 
					          DOC_TAG: ${{ steps.version_tag.outputs.major && steps.version_tag.outputs.minor && format('{0}.{1}', steps.version_tag.outputs.major, steps.version_tag.outputs.minor) || 'dev' }}
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          git fetch origin gh-pages --depth=1
 | 
					          git fetch origin gh-pages --depth=1
 | 
				
			||||||
          mike deploy --push --update-aliases ${{ env.DOC_TAG }} latest
 | 
					          mike deploy --push --update-aliases ${{ env.DOC_TAG }} latest
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user