Skip to content

Commit 076803b

Browse files
committed
fix(controller-url): order of configuration
- set url before anything else, so it is used for login
1 parent 46279e4 commit 076803b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ inputs:
4949
runs:
5050
using: "composite"
5151
steps:
52+
- run: |
53+
echo "RUNWAY_CONTROLLER=${{ inputs.controller-url }}" >> $GITHUB_ENV
54+
echo "Set a custom controller ✅" >> $GITHUB_STEP_SUMMARY
55+
if: ${{ inputs.controller-url != '' }}
56+
shell: bash
5257
- name: setup your ssh public and private key
5358
shell: bash
5459
if: ${{ inputs.private-key != '' && inputs.public-key != '' }}
@@ -120,11 +125,6 @@ runs:
120125
echo "ssh setup complete ✅" >> $GITHUB_STEP_SUMMARY
121126
if: ${{ inputs.setup-ssh == 'true' || (inputs.private-key != '' && inputs.public-key != '') }}
122127
shell: bash
123-
- run: |
124-
echo "RUNWAY_CONTROLLER=${{ inputs.controller-url }}" >> $GITHUB_ENV
125-
echo "Set a custom controller ✅" >> $GITHUB_STEP_SUMMARY
126-
if: ${{ inputs.controller-url != '' }}
127-
shell: bash
128128
- shell: bash
129129
run: |
130130
echo "Let's deploy something?! 🚀🤘" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)