Skip to content

Commit

Permalink
Fix project paths in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
SyzSteM committed Jan 23, 2024
1 parent aa49175 commit 32d1b0c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,19 @@ jobs:

- name: Install Dependencies
run: npm install
working-directory: frontend/FE_Fitness_Tracker
working-directory: FE_Fitness_Tracker

- name: Lint
run: npm run lint
working-directory: frontend/FE_Fitness_Tracker
working-directory: FE_Fitness_Tracker

- name: Run Tests
run: npm run test -- --no-watch --no-progress --browsers=ChromeHeadlessCI
working-directory: frontend/FE_Fitness_Tracker
working-directory: FE_Fitness_Tracker

- name: Build
run: npm run build:prod
working-directory: frontend/FE_Fitness_Tracker
working-directory: FE_Fitness_Tracker

- name: Print Folder Structure
run: |
Expand All @@ -63,7 +63,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: dist_folder
path: frontend/FE_Fitness_Tracker/dist/
path: FE_Fitness_Tracker/dist/

# Add any deployment steps here, specifying the 'working-directory' if needed

Expand Down Expand Up @@ -98,10 +98,10 @@ jobs:
uses: actions/download-artifact@v4
with:
name: dist_folder
path: frontend/FE_Fitness_Tracker/dist
path: FE_Fitness_Tracker/dist

- name: Build Docker Image
run: docker build -f frontend/FE_Fitness_Tracker/Dockerfile -t $DOCKER_IMAGE_TAG FE_Fitness_Tracker
run: docker build -f FE_Fitness_Tracker/Dockerfile -t $DOCKER_IMAGE_TAG FE_Fitness_Tracker

- name: GitHub Action for DigitalOcean - doctl
uses: digitalocean/action-doctl@v2
Expand Down

0 comments on commit 32d1b0c

Please sign in to comment.