Skip to content

Commit

Permalink
Fixing path for backend deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
rotirk20 committed Sep 20, 2024
1 parent fc408c6 commit 632f82e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ jobs:
uses: actions/download-artifact@v4
with:
name: backend-artifact
path: ./backend # Download the backend code
path: ./backend/ # This should be a directory with a trailing slash

- name: Deploy backend to cPanel via FTP
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: ./backend # Deploy the entire backend folder
server-dir: /public_html/backend/ # Path where backend files are deployed on server
local-dir: ./backend/ # Ensure this is a directory with a trailing slash
server-dir: /public_html/backend/ # Adjust the path as necessary
port: ${{ secrets.FTP_PORT }}
log-level: verbose

0 comments on commit 632f82e

Please sign in to comment.