Skip to content

Commit

Permalink
Move back to the ftp deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
ysbrandB committed Jun 15, 2024
1 parent e129b8d commit 1ec63c3
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,16 @@ 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/web-deploy@v1

- name: 📂 Sync files
uses: SamKirkland/[email protected]
with:
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 }}
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 }}

- name: 🚀 Run deploy script
uses: appleboy/[email protected]
with:
Expand Down

0 comments on commit 1ec63c3

Please sign in to comment.