Skip to content

Commit

Permalink
CI/CD deployment changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rotirk20 committed Aug 25, 2024
1 parent 1bdc1b1 commit af229ec
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 @@ -37,7 +37,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: angular-build
path: "./dist/"
path: "./dist/smetovi/"

deploy:
needs: build
Expand All @@ -49,14 +49,14 @@ jobs:
uses: actions/download-artifact@v3
with:
name: angular-build
path: "./dist/"
path: "./dist/smetovi/"
- name: Deploy to cPanel hosting via FTP
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: ./dist/ # Adjust this to match your project name
local-dir: ./dist/smetovi/ # Adjust this to match your project name
server-dir: /public_html/ # Adjust this to your target directory on the server
port: ${{ secrets.FTP_PORT }}
log-level: verbose

0 comments on commit af229ec

Please sign in to comment.