test
This commit is contained in:
		
							
								
								
									
										25
									
								
								.github/workflows/action.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										25
									
								
								.github/workflows/action.yml
									
									
									
									
										vendored
									
									
								
							@@ -1,17 +1,18 @@
 | 
				
			|||||||
# On every push this script is executed
 | 
					name: Zola on GitHub Pages
 | 
				
			||||||
on: push
 | 
					
 | 
				
			||||||
name: Build and deploy GH Pages
 | 
					on: 
 | 
				
			||||||
 | 
					 push:
 | 
				
			||||||
 | 
					  branches:
 | 
				
			||||||
 | 
					   - development
 | 
				
			||||||
 | 
					
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  build:
 | 
					  build:
 | 
				
			||||||
 | 
					    name: Publish site
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    if: github.ref == 'refs/heads/development'
 | 
					 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: checkout
 | 
					    - name: Checkout development
 | 
				
			||||||
        uses: actions/checkout@v2
 | 
					      uses: actions/checkout@v3.0.0
 | 
				
			||||||
      - name: build_and_deploy
 | 
					    - name: Build and deploy
 | 
				
			||||||
        uses: shalzz/zola-deploy-action@v0.14.1
 | 
					      uses: shalzz/zola-deploy-action@v0.16.0
 | 
				
			||||||
      env:
 | 
					      env:
 | 
				
			||||||
          # Target branch
 | 
					        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 | 
				
			||||||
          PAGES_BRANCH: gh-pages
 | 
					 | 
				
			||||||
          # Provide personal access token
 | 
					 | 
				
			||||||
          TOKEN: ${{ secrets.TOKEN }}
 | 
					 | 
				
			||||||
		Reference in New Issue
	
	Block a user