Skip to content

Commit 7515f52

Browse files
committed
revert
1 parent 340aadc commit 7515f52

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/auto.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,32 +18,32 @@ jobs:
1818
with:
1919
node-version: '20' # או גרסה אחרת שתואמת את הפרויקט שלך
2020
cache: 'npm'
21-
cache-dependency-path: '../../backend/package-lock.json'
22-
working-directory: ../../backend # מעבר לתיקיית הבאקאנד
21+
cache-dependency-path: './backend/package-lock.json'
22+
working-directory: ./backend # מעבר לתיקיית הבאקאנד
2323

2424
- name: Install backend dependencies
2525
run: npm install
26-
working-directory: ../../backend
26+
working-directory: ./backend
2727

2828
- name: Build backend (if needed)
2929
run: npm run build # אם יש תהליך בנייה לבאקאנד (לדוגמה, TypeScript)
30-
working-directory: ../../backend
30+
working-directory: ./backend
3131

3232
- name: Set up Node.js for frontend
3333
uses: actions/setup-node@v4
3434
with:
3535
node-version: '20' # או גרסה אחרת שתואמת את הפרויקט שלך
3636
cache: 'npm'
3737
cache-dependency-path: './frontend/package-lock.json'
38-
working-directory: ../../frontend
38+
working-directory: ./frontend
3939

4040
- name: Install frontend dependencies
4141
run: npm install
42-
working-directory: ../../frontend
42+
working-directory: ./frontend
4343

4444
- name: Build frontend
4545
run: npm run build
46-
working-directory: ../../frontend
46+
working-directory: ./frontend
4747

4848
- name: Deploy to EC2
4949
uses: appleboy/ssh-action@master

0 commit comments

Comments
 (0)