Ajout build et deploy
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: Tests
|
||||
name: CI/CD Pipeline
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -12,4 +12,12 @@ jobs:
|
||||
- name: Lancer les tests
|
||||
run: |
|
||||
chmod +x tests.sh
|
||||
./tests.sh
|
||||
./tests.sh
|
||||
|
||||
deploy:
|
||||
needs: test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Déployer le site
|
||||
run: docker compose up -d --build
|
||||
Reference in New Issue
Block a user