Skip to content

Commit

Permalink
sftp_only
Browse files Browse the repository at this point in the history
  • Loading branch information
KubloPL committed May 30, 2024
1 parent 79df440 commit 74779ce
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Build and Deploy Site

on:
push:
# branches:
# - develop
branches:
- develop

jobs:
build-and-deploy:
Expand All @@ -27,9 +27,10 @@ jobs:
- name: Deploy to SFTP
uses: wlixcc/[email protected]
with:
sftp_only: true
server: ${{ secrets.SFTP_HOST }}
username: ${{ secrets.SFTP_USERNAME }}
password: ${{ secrets.SFTP_PASSWORD }}
port: ${{ secrets.SFTP_PORT }}
local_path: ${{ secrets.LOCAL_PATH }}
local_path: "./public/*"
remote_path: ${{ secrets.REMOTE_PATH }}

0 comments on commit 74779ce

Please sign in to comment.