mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	ari-stubs: Fix more local anchor references
Also allow CreateDocs job to be run manually with default branches.
(cherry picked from commit c14849ac17)
			
			
This commit is contained in:
		
				
					committed by
					
						 Asterisk Development Team
						Asterisk Development Team
					
				
			
			
				
	
			
			
			
						parent
						
							e2f2e8dcef
						
					
				
				
					commit
					f8632232fd
				
			
							
								
								
									
										21
									
								
								.github/workflows/CreateDocs.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										21
									
								
								.github/workflows/CreateDocs.yml
									
									
									
									
										vendored
									
									
								
							| @@ -4,8 +4,7 @@ on: | ||||
|     inputs: | ||||
|       branches: | ||||
|         description: "JSON array of branches: ['18','20'] (no spaces)" | ||||
|         required:    true | ||||
|         default: ${{ vars.WIKIDOCS_ENABLE }} | ||||
|         required:    false | ||||
|         type:        string | ||||
|   schedule: | ||||
| #           Times are UTC | ||||
| @@ -15,15 +14,29 @@ env: | ||||
|   ASTERISK_REPO:     ${{ github.repository }} | ||||
|   GITHUB_TOKEN:      ${{ secrets.GITHUB_TOKEN }} | ||||
|   GH_TOKEN:          ${{ secrets.GITHUB_TOKEN }} | ||||
|   DEFAULT_BRANCHES:  ${{ vars.WIKIDOC_BRANCHES }} | ||||
|   INPUT_BRANCHES:    ${{ inputs.branches }} | ||||
|  | ||||
| jobs: | ||||
|    | ||||
|   CreateDocsDebug: | ||||
|     runs-on: ubuntu-latest | ||||
|     outputs: | ||||
|       manual_branches:     ${{ steps.setup.outputs.manual_branches }} | ||||
|     steps: | ||||
|       - name: setup | ||||
|         run: | | ||||
|           MANUAL_BRANCHES="$INPUT_BRANCHES" | ||||
|           [ -z "$MANUAL_BRANCHES" ] && MANUAL_BRANCHES="$DEFAULT_BRANCHES" || : | ||||
|           echo "manual_branches=${MANUAL_BRANCHES}" | ||||
|           echo "manual_branches=${MANUAL_BRANCHES}" >>${GITHUB_OUTPUT} | ||||
|           exit 0 | ||||
|          | ||||
|       - name: DumpEnvironment | ||||
|         uses: asterisk/asterisk-ci-actions/DumpEnvironmentAction@main | ||||
|         with: | ||||
|           action-vars: ${{toJSON(inputs)}} | ||||
|           action-inputs: ${{toJSON(inputs)}} | ||||
|           action-vars: ${{ toJSON(steps.setup.outputs) }} | ||||
|  | ||||
|   CreateDocsScheduledMatrix: | ||||
|     needs: [ CreateDocsDebug ] | ||||
| @@ -74,7 +87,7 @@ jobs: | ||||
|     strategy: | ||||
|       fail-fast: false | ||||
|       matrix: | ||||
|         branch: ${{ fromJSON(inputs.branches) }} | ||||
|         branch: ${{ fromJSON(vars.WIKIDOC_MANUAL_BRANCHES) }} | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - name: CreateDocs for ${{matrix.branch}} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user