mirror of
				https://github.com/DerTyp7/local-analyzer-angular.git
				synced 2025-10-30 13:17:15 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: Build and Deploy to pages
 | |
| on:
 | |
|   push:
 | |
|     branches:
 | |
|       - main
 | |
| jobs:
 | |
|   build:
 | |
| 
 | |
|     runs-on: ubuntu-latest
 | |
| 
 | |
|     steps:
 | |
|     - uses: actions/checkout@v3
 | |
|     - name: All things angular
 | |
|       uses: AhsanAyaz/angular-deploy-gh-pages-actions@v1.4.0 ## replace by latest version without it you will see Expected format {org}/{repo}[/path]@ref. Actual 'AhsanAyaz/angular-deploy-gh-pages-actions',Input string was not in a correct format.
 | |
|       with:
 | |
|         github_access_token: ${{ secrets.GITHUB_TOKEN }} # see the Configuration section for how you can create secrets
 | |
|         build_configuration: production # The build environment for the app. please look configurations in your angular.json
 | |
|         base_href: /local-analyzer-angular/   # make sure this corresponds to https://<your_username>.github.io/<base_href>/
 | |
|         deploy_branch: gh-pages # The branch the action should deploy to.
 | |
|         angular_dist_build_folder: dist/local-analyzer # The folder where your project is supposed to be after running ng build by the action.
 | |
| 
 | |
| permissions:
 | |
|   contents: write # Allow write permission to GITHUB_TOKEN to commit to deploy branch.
 | 
