@@ -15,11 +15,11 @@ jobs:
1515
1616 - name : 🔧 Build Docker containers
1717 run : docker compose build
18- working-directory : DevOps-Linux/ week7
18+ working-directory : week7
1919
2020 - name : 🚀 Start containers
2121 run : docker compose up -d
22- working-directory : DevOps-Linux/ week7
22+ working-directory : week7
2323
2424 - name : 💤 Wait for DB healthcheck
2525 run : |
@@ -30,27 +30,27 @@ jobs:
3030 [ "$status" = "healthy" ] && break
3131 sleep 1
3232 done
33- working-directory : DevOps-Linux/ week7
33+ working-directory : week7
3434
3535 - name : 🧪 Test API endpoints
3636 run : |
3737 curl --fail http://localhost:3000/health
3838 curl --fail http://localhost:3000/api/users
39- working-directory : DevOps-Linux/ week7
39+ working-directory : week7
4040
4141 - name : 📜 Capture logs on failure
4242 if : failure()
4343 run : docker compose logs > full_logs.txt
44- working-directory : DevOps-Linux/ week7
44+ working-directory : week7
4545
4646 - name : 📤 Upload logs
4747 if : always()
4848 uses : actions/upload-artifact@v4
4949 with :
5050 name : docker-compose-logs
51- path : DevOps-Linux/ week7/full_logs.txt
51+ path : week7/full_logs.txt
5252
5353 - name : 🧹 Shut down containers
5454 if : always()
5555 run : docker compose down --volumes
56- working-directory : DevOps-Linux/ week7
56+ working-directory : week7
0 commit comments