Test deploiement automatique
Some checks failed
Déploiement Hugo Staging / deploy-staging (push) Failing after 0s
Some checks failed
Déploiement Hugo Staging / deploy-staging (push) Failing after 0s
This commit is contained in:
parent
8ceeea5ecb
commit
b8034dda9a
@ -9,10 +9,16 @@ jobs:
|
||||
deploy-staging:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Récupération du code
|
||||
uses: actions/checkout@v2
|
||||
- name: Déploiement sur staging
|
||||
- name: Déployer sur staging
|
||||
shell: bash
|
||||
run: |
|
||||
# Dirige-toi dans le clone staging
|
||||
cd /home/deploy/staging
|
||||
|
||||
# Récupère la dernière version de master
|
||||
git pull gitea master
|
||||
docker compose -f docker-compose.staging.yml up -d
|
||||
|
||||
# Relance le service Hugo-staging
|
||||
docker compose -f /home/deploy/infra/docker-compose.staging.yml up -d
|
||||
|
||||
echo "Staging mis à jour à $(date)"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user