ci: Re-indent docs.yaml
This commit is contained in:
		
							parent
							
								
									dbb57f1dca
								
							
						
					
					
						commit
						b91078ac55
					
				
							
								
								
									
										52
									
								
								.github/workflows/docs.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										52
									
								
								.github/workflows/docs.yaml
									
									
									
									
										vendored
									
									
								
							| @ -1,29 +1,29 @@ | |||||||
| on: | on: | ||||||
|     push: |   push: | ||||||
|         branches: [main] |     branches: [main] | ||||||
| 
 | 
 | ||||||
| jobs: | jobs: | ||||||
|     build-deploy: |   build-deploy: | ||||||
|         runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|         steps: |     steps: | ||||||
|             - name: Checkout repo |       - name: Checkout repo | ||||||
|               uses: actions/checkout@v2 |         uses: actions/checkout@v2 | ||||||
|             - name: Install nightly rust toolchain |       - name: Install nightly rust toolchain | ||||||
|               uses: actions-rs/toolchain@v1 |         uses: actions-rs/toolchain@v1 | ||||||
|               with: |         with: | ||||||
|                   profile: minimal |           profile: minimal | ||||||
|                   # Needed for use of unstable options |           # Needed for use of unstable options | ||||||
|                   toolchain: nightly |           toolchain: nightly | ||||||
|                   override: true |           override: true | ||||||
|             - name: Build docs |       - name: Build docs | ||||||
|               uses: actions-rs/cargo@v1 |         uses: actions-rs/cargo@v1 | ||||||
|               env: |         env: | ||||||
|                   RUSTDOCFLAGS: "--enable-index-page -Zunstable-options --cfg docsrs" |           RUSTDOCFLAGS: "--enable-index-page -Zunstable-options --cfg docsrs" | ||||||
|               with: |         with: | ||||||
|                   command: doc |           command: doc | ||||||
|                   args: --no-deps --workspace --exclude xtask --features full,compat,unstable-pre-spec -Zrustdoc-map |           args: --no-deps --workspace --exclude xtask --features full,compat,unstable-pre-spec -Zrustdoc-map | ||||||
|             - name: Deploy to docs branch |       - name: Deploy to docs branch | ||||||
|               uses: JamesIves/github-pages-deploy-action@4.1.0 |         uses: JamesIves/github-pages-deploy-action@4.1.0 | ||||||
|               with: |         with: | ||||||
|                   branch: docs |           branch: docs | ||||||
|                   folder: target/doc |           folder: target/doc | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user