|
7 | 7 | required: true |
8 | 8 | entra_username: |
9 | 9 | description: 'Entra username for authentication' |
10 | | - required: true |
| 10 | + required: false |
11 | 11 | entra_password: |
12 | 12 | description: 'Entra password for authentication' |
13 | 13 | required: false |
|
45 | 45 | path: doctool |
46 | 46 | token: ${{ secrets.token }} |
47 | 47 |
|
48 | | - - name: Show Inputs |
49 | | - run: | |
50 | | - echo "Command Token URL: ${{ inputs.command_token_url }}" |
51 | | - echo "Command Hostname: ${{ inputs.command_hostname }}" |
52 | | - echo "Command Base API Path: ${{ inputs.command_base_api_path }}" |
53 | | - echo "Entra Username: ${{ secrets.entra_username }}" |
54 | | - echo "Entra Password: ${{ secrets.entra_password }}" |
55 | | - echo "Command Client ID: ${{ secrets.command_client_id }}" |
56 | | - echo "Command Client Secret: ${{ secrets.command_client_secret }}" |
57 | | -
|
58 | | - - name: Set environment variables |
59 | | - run: | |
60 | | - echo "DOCTOOL_COMMAND_TOKEN_URL=${{ inputs.command_token_url }}" >> $GITHUB_ENV |
61 | | - echo "DOCTOOL_COMMAND_HOSTNAME=${{ inputs.command_hostname }}" >> $GITHUB_ENV |
62 | | - echo "DOCTOOL_COMMAND_BASE_API_PATH=${{ inputs.command_base_api_path }}" >> $GITHUB_ENV |
63 | | - |
64 | | -
|
65 | 48 | - name: Launch local doctool |
66 | 49 | uses: ./doctool |
67 | 50 | id: launch-doctool |
|
71 | 54 | entra_password: ${{ secrets.entra_password }} |
72 | 55 | command_client_id: ${{ secrets.command_client_id }} |
73 | 56 | command_client_secret: ${{ secrets.command_client_secret }} |
74 | | - command_token_url: ${{ vars.DOCTOOL_COMMAND_TOKEN_URL }} |
75 | | - command_hostname: ${{ vars.DOCTOOL_COMMAND_HOSTNAME }} |
76 | | - command_base_api_path: ${{ vars.DOCTOOL_COMMAND_BASE_API_PATH }} |
| 57 | + command_token_url: ${{ inputs.command_token_url }} |
| 58 | + command_hostname: ${{ inputs.command_hostname }} |
| 59 | + command_base_api_path: ${{ inputs.command_token_url }} |
77 | 60 |
|
78 | 61 |
|
0 commit comments