Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #138 from SELab-2/development
Browse files Browse the repository at this point in the history
Merging dev into main
  • Loading branch information
TomAlard authored Mar 24, 2022
2 parents 07f1792 + 74c1e99 commit c5ef92b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ jobs:
- name: Build react frontend with yarn
run: yarn build
working-directory: ./frontend
- name: Copy react build files to production folder
run: cp -R out/ /home/selab2/production/
working-directory: ./frontend
- name: Copy react files to production folder
run: cp -R frontend/ /home/selab2/production/
- name: Run the react app
run: sudo -E /home/selab2/production/start_frontend.sh

- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v2
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build && next export",
"build": "next build",
"start": "next start",
"lint": "yarn run eslint . --ext .js,.jsx,.ts,.tsx",
"prettier:check": "yarn prettier --check .",
Expand Down

0 comments on commit c5ef92b

Please sign in to comment.