Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
ci: inside subdirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemSBulgakov committed Nov 29, 2024
1 parent 2c05680 commit fb738ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
cache: pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts
run: cd frontend && pnpm install --frozen-lockfile --ignore-scripts

- name: Build
run: pnpm run build
Expand All @@ -42,7 +42,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: static-files
path: dist/
path: frontend/dist/
if-no-files-found: error

deploy-frontend:
Expand All @@ -62,8 +62,8 @@ jobs:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
password: ${{ secrets.SSH_PASSWORD }}
source: "./dist/*"
source: "./frontend/dist/*"
target: ${{ secrets.SSH_FRONTEND_DIRECTORY }}
strip_components: 1
strip_components: 2
overwrite: true
rm: true

0 comments on commit fb738ac

Please sign in to comment.