Skip to content

Commit

Permalink
try new ftp action
Browse files Browse the repository at this point in the history
  • Loading branch information
joeke committed Jul 19, 2024
1 parent d0ee463 commit d31d2e5
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,27 @@ jobs:
# remoteDir: '/home/pool_joeke_dev/htdocs'
# options: '--verbose'

# - name: Deploy files
# uses: SamKirkland/FTP-Deploy-Action@v4.3.4
# with:
# server: 141.138.138.119
# username: ${{ secrets.ssh_username }}
# password: ${{ secrets.ssh_password }}
# server-dir: '/home/pool_joeke_dev/htdocs/'
# port: 22
# exclude: |
# **/.git*
# **/.git*/**
# **/node_modules/**

- name: Deploy files
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
uses: appleboy/scp-action@v0.1.7
with:
server: 141.138.138.119
host: 141.138.138.119
username: ${{ secrets.ssh_username }}
password: ${{ secrets.ssh_password }}
server-dir: '/home/pool_joeke_dev/htdocs/'
port: 22
exclude: |
**/.git*
**/.git*/**
**/node_modules/**
source: './,!./.git,!./.github,!./node_modules'
target: '/home/pool_joeke_dev/htdocs/'

- name: Run Laravel migrations
uses: appleboy/ssh-action@v1.0.3
Expand Down

0 comments on commit d31d2e5

Please sign in to comment.