diff --git a/.github/workflows/dreamhost.yml b/.github/workflows/dreamhost.yml index 6698c33..1044f76 100644 --- a/.github/workflows/dreamhost.yml +++ b/.github/workflows/dreamhost.yml @@ -39,31 +39,11 @@ jobs: run: rm -rf node_modules - name: Deploy to Dreamhost - # uses: SamKirkland/FTP-Deploy-Action@v4.4.0 - # with: - # # dry-run: true - # server: iad1-shared-e1-31.dreamhost.com - # port: 22 - # protocol: sftp - # username: soloweb - # password: ${{ secrets.REMOTE_PRIVATE_KEY }} - # server-dir: solowebdesigns.net/cwc/wp-content/themes/community-works-collaborative - # exclude: | - # **/.git* - # **/.git*/** - # **/.vscode - # **/.vscode/** - # **/database/** - # DOCKER_ENV - # docker_tag - # output.log - # **/vendor/** - # **/node_modules/** - - uses: wlixcc/SFTP-Deploy-Action@v1.2.6 + uses: SamKirkland/web-deploy@v1 with: - username: 'soloweb' - server: 'iad1-shared-e1-31.dreamhost.com' - ssh_private_key: ${{ secrets.REMOTE_PRIVATE_KEY }} - remote_path: 'solowebdesigns.net/cwc/wp-content/themes/community-works-collaborative' - sftpArgs: '-o ConnectTimeout=5' + target-server: iad1-shared-e1-31.dreamhost.com + ssh-port: 22 + remote-user: soloweb + private-ssh-key: ${{ secrets.REMOTE_PRIVATE_KEY }} + destination-path: solowebdesigns.net/cwc/wp-content/themes/community-works-collaborative + rsync-options: --dry-run --archive --verbose --compress --delete-after --human-readable --exclude=.git* --exclude=.git/ --exclude=.vscode/ --exclude=database/ --exclude=.gitignore --exclude=DOCKER_ENV --exclude=docker_tag --exclude=output.log --exclude=vendor/ --exclude=node_modules/ --exclude=notes/ --exclude=docs/