Skip to content

Commit 6c58280

Browse files
committed
fix(workflow): Remove input outputs
1 parent 023f93e commit 6c58280

1 file changed

Lines changed: 4 additions & 21 deletions

File tree

.github/workflows/generate-readme.yml

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
required: true
88
entra_username:
99
description: 'Entra username for authentication'
10-
required: true
10+
required: false
1111
entra_password:
1212
description: 'Entra password for authentication'
1313
required: false
@@ -45,23 +45,6 @@ jobs:
4545
path: doctool
4646
token: ${{ secrets.token }}
4747

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-
6548
- name: Launch local doctool
6649
uses: ./doctool
6750
id: launch-doctool
@@ -71,8 +54,8 @@ jobs:
7154
entra_password: ${{ secrets.entra_password }}
7255
command_client_id: ${{ secrets.command_client_id }}
7356
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 }}
7760

7861

0 commit comments

Comments
 (0)