Skip to content

Commit

Permalink
rm stray single quotes and improve file path handling reliability wit…
Browse files Browse the repository at this point in the history
…h proper quotes
  • Loading branch information
MichelleBlanchette committed May 4, 2024
1 parent 95733df commit 65eab82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@ jobs:
run: |
echo "${{ secrets.PTC_GITHUB_SSH_KEY }}" > deploy_key
chmod 600 ./deploy_key
scp -i ./deploy_key -o StrictHostKeyChecking=no' ${{ env.PTC_PLUGIN_ZIP_FILE }} ${{ env.remote }}:${{ env.destination }}
ssh -i ./deploy_key -o StrictHostKeyChecking=no' ${{ env.remote }} 'chmod 775 ${{ env.destination }}; chgrp www-data ${{ env.destination }}' || true
scp -i "./deploy_key" -o "StrictHostKeyChecking=no" "${{ env.PTC_PLUGIN_ZIP_FILE }}" "${{ env.remote }}:${{ env.destination }}"
ssh -i "./deploy_key" -o "StrictHostKeyChecking=no" "${{ env.remote }}" 'chmod 775 "${{ env.destination }}"; chgrp www-data "${{ env.destination }}"' || true

0 comments on commit 65eab82

Please sign in to comment.