Skip to content

Commit

Permalink
root updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Julen-Smith authored Sep 12, 2023
1 parent 595d709 commit 216a20e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/nodejs_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,11 @@ jobs:
sudo apt-get purge -y nodejs npm && \
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - && \
sudo apt-get install -y git nodejs || exit 1; \
cd /root && \
if [ ! -d \".git\" ]; then \
git clone https://github.com/Julen-Smith/CICD-Github-Actions.git . || exit 1; \
else \
git pull || exit 1; \
cd ~ && \
if [ ! -d \"CICD-Github-Actions\" ]; then \
git clone https://github.com/Julen-Smith/CICD-Github-Actions.git || exit 1; \
fi && \
cd CICD-Github-Actions && \
git checkout Aws_deploy || exit 1 && \
npm install || exit 1 && \
sudo npm install -g pm2 || exit 1 && \
Expand Down

0 comments on commit 216a20e

Please sign in to comment.