diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d55cb32..e3833cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,7 @@ on: env: GH_TOKEN: ${{ github.token }} SSHPASS: ${{ secrets.GEMSPEC_ONLINE_SFTP_PASSWORD }} + SFTP_HOST: ${{ secrets.GEMSPEC_ONLINE_SFTP_USERNAME }}@${{ secrets.GEMSPEC_ONLINE_SFTP_SERVER }} jobs: @@ -21,9 +22,11 @@ jobs: steps: - uses: actions/checkout@v3 - run: sudo apt-get install sshpass - - run: sshpass -e sftp -oBatchMode=no -b - ${{ secrets.GEMSPEC_ONLINE_SFTP_USERNAME }}@${{ secrets.GEMSPEC_ONLINE_SFTP_SERVER }} << ! quit ! + - run: echo ${{ env.SFTP_HOST }} + - run: sshpass -e sftp -oBatchMode=no -b - ${{ env.SFTP_HOST }} << ! + quit + ! - #- name: Convert polarion files # run: gh release download wip --pattern 'gpc' #- run: chmod +x gpc