Skip to content

Commit

Permalink
use inputs.dry-run
Browse files Browse the repository at this point in the history
  • Loading branch information
rwinch authored May 2, 2024
1 parent ab777ba commit 075e9f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rsync-antora-reference/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ runs:
run: |
PATH=$PATH:${{ github.action_path }}/src
flag_options=''
if [ -z "${{ inputs.docs-username }}" ]; then
if [ -z "${{ inputs.dry-run }}" ]; then
flag_options="${flag_options} --dry-run"
fi
${{ github.action_path }}/src/action.sh --docs-username "${{ inputs.docs-username }}" --docs-host "${{ inputs.docs-host }}" --docs-ssh-key "${{ inputs.docs-ssh-key }}" --docs-ssh-host-key "${{ inputs.docs-ssh-host-key }}" --site-path "${{ inputs.site-path }}" --github-repository "${{ github.repository }}" --httpdocs-path "${{ inputs.httpdocs-path }}" $flag_options

0 comments on commit 075e9f6

Please sign in to comment.