Skip to content

Commit

Permalink
Update node.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pathfindermilan authored Nov 2, 2024
1 parent 099e322 commit 75dae4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
sudo cp -rf ./frontend/package.json /var/www/restio/frontend/
sudo cp -rf ./frontend/package-lock.json /var/www/restio/frontend/
sudo cp -rf ./frontend/next.config.mjs /var/www/restio/frontend/
sudo cp -rf ./frontend/utils /var/www/restio/frontend/
sudo cp -rf ./frontend/.eslintrc.json /var/www/restio/frontend/
sudo cp -rf ./frontend/jsconfig.json /var/www/restio/frontend/
Expand All @@ -51,8 +52,7 @@ jobs:
run: |
echo "Creating .env file"
sudo bash -c 'cat > /var/www/restio/frontend/.env << EOL
REACT_APP_API_URL="${{ secrets.REACT_APP_API_URL }}"
REACT_APP_SOCKET_URL="${{ secrets.REACT_APP_SOCKET_URL }}"
NEXT_PUBLIC_SERVER="${{ secrets.NEXT_PUBLIC_SERVER }}"
PORT=3000'
- name: Verify .env file
Expand Down

0 comments on commit 75dae4c

Please sign in to comment.