feat: removee emojis
ci.yml / 🧪 Tests Laravel (push) Has been cancelled
ci.yml / 🐳 Build & Push Image (push) Has been cancelled

This commit is contained in:
2026-07-10 15:46:41 +02:00
parent 4ac7742d93
commit 25d1c913c5
+7 -6
View File
@@ -9,11 +9,11 @@ on:
- completed
jobs:
deploy:
name: 🚀 Déploiement production
name: Déploiement production
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- name: 🔐 Configuration SSH
- name: Configuration SSH
run: |
mkdir -p ~/.ssh
echo "${{ secrets.DEPLOY_SSH_KEY }}" \
@@ -24,19 +24,20 @@ jobs:
-H "${{ secrets.DEPLOY_HOST }}" \
>> ~/.ssh/known_hosts
- name: 🚀 Deploy Docker
run: |
ssh \
-i ~/.ssh/id_ed25519 \
${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }} << 'EOF'
set -e
echo "📂 Projet"
echo "Projet"
cd /data/docker/landing-api
echo "⬇️ Pull nouvelle image"
echo "Pull nouvelle image"
docker compose pull
echo "🚀 Redémarrage"
echo "Redémarrage"
docker compose up -d
echo "🗄️ Migration Laravel"
echo "Migration Laravel"
docker compose exec -T app \
php artisan migrate --force