Use working dir
This commit is contained in:
		
							parent
							
								
									6a3b2577c4
								
							
						
					
					
						commit
						3fe1ee78b4
					
				
					 1 changed files with 2 additions and 10 deletions
				
			
		
							
								
								
									
										12
									
								
								.github/workflows/pelican-publish.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/pelican-publish.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -10,17 +10,9 @@ jobs:
 | 
			
		|||
      uses: actions/checkout@v2
 | 
			
		||||
      with:
 | 
			
		||||
        submodules: true
 | 
			
		||||
    - name: Create requirements.txt
 | 
			
		||||
      uses: 1arp/create-a-file-action@0.2
 | 
			
		||||
      with:
 | 
			
		||||
        # path: 'docs'
 | 
			
		||||
        file: 'requirements.txt'
 | 
			
		||||
        content: |
 | 
			
		||||
          pelican
 | 
			
		||||
          markdown
 | 
			
		||||
    - name: Build and Publish
 | 
			
		||||
      uses: iranzo/gh-pages-pelican-action@master
 | 
			
		||||
      uses: nelsonjchen/gh-pages-pelican-action@master
 | 
			
		||||
      working-directory: docs
 | 
			
		||||
      env:
 | 
			
		||||
        GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
 | 
			
		||||
        SOURCE_FOLDER: docs
 | 
			
		||||
        PELICAN_CONFIG_FILE: docs/publishconf.py
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue