Skip to content

Commit

Permalink
Try web deploy action instead
Browse files Browse the repository at this point in the history
  • Loading branch information
ysbrandB committed Jun 15, 2024
1 parent be99d15 commit e129b8d
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,16 +153,15 @@ jobs:
exclusions: 'storage/* build/* node_modules/*'
- name: ➗ Calculate checksum
run: openssl md5 ${{ env.BUILD_ARTIFACT_STAGING_DIR }}build.zip | cut -d" " -f2 > ${{ env.BUILD_ARTIFACT_STAGING_DIR }}checksum.txt
- name: 📂 Sync files
uses: SamKirkland/[email protected]
- name: 📂 Sync Files
uses: SamKirkland/web-deploy@v1
with:
log-level: verbose
timeout: 60000
server: ${{ secrets.HOST_SERVER }}
username: ${{ secrets.FTP_USER }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: ${{ env.BUILD_ARTIFACT_STAGING_DIR }}
server-dir: ${{ env.BUILD_ARTIFACT_DESTINATION_DIR }}
target-server: ${{ secrets.HOST_SERVER }}
remote-user: ${{ secrets.SSH_USER }}
private-ssh-key: ${{ secrets.SSH_KEY }}
destination-path: ${{ env.BUILD_ARTIFACT_DESTINATION_DIR }}
source-path: ${{ env.BUILD_ARTIFACT_STAGING_DIR }}
ssh-port: ${{ secrets.SSH_PORT }}
- name: 🚀 Run deploy script
uses: appleboy/[email protected]
with:
Expand Down

0 comments on commit e129b8d

Please sign in to comment.