From af229ec079eab1dd7c2572a183261c930c81f116 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tarik=20Dedi=C4=87?= Date: Sun, 25 Aug 2024 14:53:23 +0200 Subject: [PATCH] CI/CD deployment changes --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b39c4d4..7fc749d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: angular-build - path: "./dist/" + path: "./dist/smetovi/" deploy: needs: build @@ -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/FTP-Deploy-Action@4.3.0 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 \ No newline at end of file