Check for password secret before uploading pinout (#5386)

* check for secret

* try swapping

* use dumb workaround
This commit is contained in:
David Holdeman 2023-07-04 20:25:05 -05:00 committed by GitHub
parent cbad752aae
commit 8f3fd7b50b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -64,4 +64,7 @@ jobs:
}
- name: Upload Pinouts
env:
pass: ${{ secrets.RUSEFI_SSH_PASS }}
if: ${{ env.pass != '' }}
run: tar -czf - pinouts | sshpass -p "${{ secrets.RUSEFI_SSH_PASS }}" ssh -o StrictHostKeyChecking=no "${{ secrets.RUSEFI_SSH_USER }}"@"${{ secrets.RUSEFI_SSH_SERVER }}" "tar -xzf - -C docs"