Skip to content

Commit

Permalink
ln -s requires sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
ddxv committed Oct 21, 2023
1 parent dca245d commit dbb4ed1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/actions-ec2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
pwd
git pull origin main
cd frontend
npm run build
ln -s scripts/app-store-api.service /etc/systemd/system/app-store-api.service
ln -s scripts/app-store-frontend.socket /etc/systemd/system/app-store-frontend.socket
ln -s scripts/app-store-frontend.service /etc/systemd/system/app-store-frontend.service
sudo ln -s scripts/app-store-api.service /etc/systemd/system/app-store-api.service
sudo ln -s scripts/app-store-frontend.socket /etc/systemd/system/app-store-frontend.socket
sudo ln -s scripts/app-store-frontend.service /etc/systemd/system/app-store-frontend.service
sudo systemctl daemon-reload
sudo systemctl restart app-store-api
npm run build
sudo systemctl restart app-store-frontend

0 comments on commit dbb4ed1

Please sign in to comment.