Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ejegz authored Sep 10, 2024
1 parent 19fe517 commit 135015f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: CI/CD

on:
push:
Expand All @@ -22,4 +22,10 @@ jobs:
- run: npm test

- name: ▶️ Run setup script
run: npm run setup
run: npm run setup

- name: ▶️ Copy to document root
run: cp -r ~/test-react-app/work/testing-react-apps/testing-react-apps /var/www/test-react-app

- name: ▶️ run docker-compose up
run: cd /var/www/test-react-app && docker-compose up -d

0 comments on commit 135015f

Please sign in to comment.