mirror of
				https://github.com/Eledio/superfaktura-client.git
				synced 2025-10-31 08:22:32 +01:00 
			
		
		
		
	GA deploy-docs: add workflow
This commit is contained in:
		
							
								
								
									
										33
									
								
								.github/workflows/deploy-docs.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								.github/workflows/deploy-docs.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,33 @@ | |||||||
|  | name: Deploy Sphinx Documentation | ||||||
|  |  | ||||||
|  | on: [push] | ||||||
|  | permissions: | ||||||
|  |   contents: write | ||||||
|  | jobs: | ||||||
|  |   build: | ||||||
|  |     runs-on: ubuntu-latest | ||||||
|  |  | ||||||
|  |     steps: | ||||||
|  |       - name: Checkout repository | ||||||
|  |         uses: actions/checkout@v4 | ||||||
|  |  | ||||||
|  |       - name: Set up Python | ||||||
|  |         uses: actions/setup-python@v5 | ||||||
|  |         with: | ||||||
|  |           python-version: "3.10" | ||||||
|  |  | ||||||
|  |       - name: Install dependencies | ||||||
|  |         run: | | ||||||
|  |           pip install sphinx sphinx-rtd-theme | ||||||
|  |           pip install -e . | ||||||
|  |  | ||||||
|  |       - name: Build documentation | ||||||
|  |         run: | | ||||||
|  |           make -C docs html | ||||||
|  |           touch docs/build/html/.nojekyll | ||||||
|  |  | ||||||
|  |       - name: Deploy to GitHub Pages | ||||||
|  |         uses: JamesIves/github-pages-deploy-action@v4 | ||||||
|  |         with: | ||||||
|  |           branch: gh-pages | ||||||
|  |           folder: docs/build/html | ||||||
		Reference in New Issue
	
	Block a user