Skip to content

Commit

Permalink
ED-4000 feat: Github actions instead of Jenkins-02
Browse files Browse the repository at this point in the history
  • Loading branch information
princegupta1131 committed May 30, 2024
1 parent f4dcdd8 commit 8ee4a8d
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,17 @@ jobs:
npm run build
- name: List dist directory contents
run: ls -l src/app/client/dist
working-directory: src/app/client
run: ls -l dist

- name: Move index.html to index.ejs
run: mv src/app/client/dist/index.html src/app/client/dist/index.ejs
- name: Move index.html to index.ejs if it exists
working-directory: src/app/client
run: |
if [ -f dist/index.html ]; then
mv dist/index.html dist/index.ejs
else
echo "File dist/index.html does not exist"
fi
- name: Set up dependencies for server
run: |
Expand Down Expand Up @@ -63,4 +70,4 @@ jobs:
cd -
- name: Run Sonar Scanner
run: /tmp/sonar-scanner-5.0.1.3006-linux/bin/sonar-scanner
run: /tmp/sonar-scanner-5.0.1.3006-linux/bin/sonar-scanner

0 comments on commit 8ee4a8d

Please sign in to comment.