Skip to content

Commit

Permalink
Merge pull request #161 from ckekula/Cooper-JSK-patch-4
Browse files Browse the repository at this point in the history
Update frontendVPS.yml
  • Loading branch information
nostoc authored Oct 17, 2024
2 parents 93606a2 + 0218c97 commit bab83b3
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/frontendVPS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ jobs:
run: |
pm2 stop 0
# Install dependencies in the frontend directory
- name: Install dependencies
run: |
cd frontend
npm ci
# Copy files to the production directory
- name: Copy files to production directory
run: |
Expand All @@ -51,11 +57,6 @@ jobs:
echo "NEXT_PUBLIC_GRAPHQL_URL=${{ secrets.NEXT_PUBLIC_GRAPHQL_URL }}" >> .env.production
echo "NEXT_PUBLIC_API_URL=${{ secrets.NEXT_PUBLIC_API_URL }}" >> .env.production
# Install dependencies in the frontend directory
- name: Install dependencies
run: |
cd frontend
npm ci
- name: Build production directory
run: |
Expand Down

0 comments on commit bab83b3

Please sign in to comment.