Skip to content

Commit 9cd92da

Browse files
authored
Merge pull request #23 from MSPRProject/nlauvray-patch-4
Update frontcicd.yml
2 parents 250762c + 7333883 commit 9cd92da

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/frontcicd.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,15 @@ jobs:
2020

2121
- name: Install dependencies
2222
run: npm install
23+
working-directory: ./
2324

2425
- name: Run Angular unit tests
2526
run: npm run test -- --watch=false --browsers=ChromeHeadless
27+
working-directory: ./
2628

2729
- name: Build Angular app
2830
run: npm run build
31+
working-directory: ./
2932

3033
test:
3134
runs-on: ubuntu-latest
@@ -53,7 +56,7 @@ jobs:
5356

5457
- name: Run tests
5558
run: mvn test
56-
working-directory: API
59+
working-directory: ./API
5760

5861
gh-pages-deploy:
5962
runs-on: ubuntu-latest
@@ -71,13 +74,13 @@ jobs:
7174
run: |
7275
npm install
7376
npm run build
74-
working-directory: Front
77+
working-directory: ./
7578

7679
- name: Deploy to GitHub Pages
7780
uses: peaceiris/actions-gh-pages@v4
7881
with:
7982
github_token: ${{ secrets.GITHUB_TOKEN }}
80-
publish_dir: Front
83+
publish_dir: ./
8184

8285
deploy:
8386
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)