diff --git a/.github/workflows/dreamhost.yml b/.github/workflows/dreamhost.yml index 0a466fb..49246fe 100644 --- a/.github/workflows/dreamhost.yml +++ b/.github/workflows/dreamhost.yml @@ -39,11 +39,10 @@ jobs: run: rm -rf node_modules - name: Deploy to Dreamhost - uses: swillner/sftp-sync-action@v1.0 + uses: wlixcc/SFTP-Deploy-Action@v1.2.6 with: - server: iad1-shared-e1-31.dreamhost.com - user: soloweb - user_private_key: "${{ secrets.REMOTE_PRIVATE_KEY }}" - host_public_key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMCkXBw9NJZ+7lRXw+QLeGdOvGpNp+2lySYJOZO8oVcv soloweb@iad1-shared-e1-31" - remote: solowebdesigns.net/cwc/wp-content/themes/community-works-collaborative - mirror_options: "--exclude-glob=.git*/ --verbose" + username: 'soloweb' + server: 'iad1-shared-e1-31.dreamhost.com' + ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} + remote_path: 'solowebdesigns.net/cwc/wp-content/themes/community-works-collaborative' + sftpArgs: '-o ConnectTimeout=5'