Essai de déploiement automatique
This commit is contained in:
parent
ffa756b3e3
commit
56a7130b25
|
@ -19,5 +19,7 @@ stages: # List of stages for jobs, and their order of execution
|
||||||
deploy-job: # This job runs in the deploy stage.
|
deploy-job: # This job runs in the deploy stage.
|
||||||
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
|
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
|
||||||
script:
|
script:
|
||||||
- echo "Deploying application..."
|
- echo "Récupération du dernier `git push`..."
|
||||||
- echo "Application successfully deployed."
|
- cd /home/webmaster/articles && git checkout -- . && git pull
|
||||||
|
- gsl check && gsl make
|
||||||
|
- echo "Déploiement terminé."
|
||||||
|
|
Loading…
Reference in New Issue