Skip to content

Commit 805fc94

Browse files
Rakesh MummanaRakesh Mummana
authored andcommitted
add workflows
1 parent d23c290 commit 805fc94

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/cd_prod.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@ jobs:
1818
script : |
1919
echo "Starting redeployment on production server..."
2020
ls
21+
set -e
22+
23+
export NVM_DIR="$HOME/.nvm"
24+
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
25+
nvm use --lts
26+
27+
corepack enable
28+
corepack prepare pnpm@latest --activate
29+
2130
cd ci-cd-testing/
2231
git pull origin main
2332
pnpm install

0 commit comments

Comments
 (0)