Skip to content

Commit

Permalink
Script to deploy
Browse files Browse the repository at this point in the history
Signed-off-by: Samuel Osei Kwakye <[email protected]>
  • Loading branch information
Kwakyesamuelosei committed Aug 3, 2023
1 parent 877d5ab commit c8f1b8c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/angular_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ jobs:
cd app
echo 'Clone repo from github to app directory'
git clone [email protected]:factory24/aqm-site.git
echo 'Build the project's'
echo 'Showing current directory items'
ll -a
echo 'Building the project'
npm run build
echo 'Copy the build files to web server '
echo 'Copy the build files to web server'
cp -f ./app/dist /var/www/html
echo 'Restart the nginx server'
sudo service nginx restart
Expand Down

0 comments on commit c8f1b8c

Please sign in to comment.