mirror of https://github.com/h44z/wg-portal.git
				
				
				
			Separate tag-based and branch-based documentation deployment
Updated the workflow to deploy documentation with `latest` alias only on tagged refs, while regular deployments occur for branches without updating aliases. This ensures proper versioning and prevents unintended alias updates.
This commit is contained in:
		
							parent
							
								
									a8fb4365cf
								
							
						
					
					
						commit
						78deede360
					
				|  | @ -28,7 +28,7 @@ jobs: | |||
| 
 | ||||
|       - name: Publish documentation | ||||
|         if: ${{ ! startsWith(github.ref, 'refs/tags/') }} | ||||
|         run: mike deploy --push | ||||
|         run: mike deploy --push ${{ github.ref_name }} | ||||
|         env: | ||||
|           GIT_COMMITTER_NAME: "github-actions[bot]" | ||||
|           GIT_COMMITTER_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com" | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue