feat: removee emojis
This commit is contained in:
@@ -9,11 +9,11 @@ on:
|
|||||||
- completed
|
- completed
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
name: 🚀 Déploiement production
|
name: Déploiement production
|
||||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: 🔐 Configuration SSH
|
- name: Configuration SSH
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
echo "${{ secrets.DEPLOY_SSH_KEY }}" \
|
echo "${{ secrets.DEPLOY_SSH_KEY }}" \
|
||||||
@@ -24,19 +24,20 @@ jobs:
|
|||||||
-H "${{ secrets.DEPLOY_HOST }}" \
|
-H "${{ secrets.DEPLOY_HOST }}" \
|
||||||
>> ~/.ssh/known_hosts
|
>> ~/.ssh/known_hosts
|
||||||
|
|
||||||
|
|
||||||
- name: 🚀 Deploy Docker
|
- name: 🚀 Deploy Docker
|
||||||
run: |
|
run: |
|
||||||
ssh \
|
ssh \
|
||||||
-i ~/.ssh/id_ed25519 \
|
-i ~/.ssh/id_ed25519 \
|
||||||
${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }} << 'EOF'
|
${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }} << 'EOF'
|
||||||
set -e
|
set -e
|
||||||
echo "📂 Projet"
|
echo "Projet"
|
||||||
cd /data/docker/landing-api
|
cd /data/docker/landing-api
|
||||||
echo "⬇️ Pull nouvelle image"
|
echo "Pull nouvelle image"
|
||||||
docker compose pull
|
docker compose pull
|
||||||
echo "🚀 Redémarrage"
|
echo "Redémarrage"
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
echo "🗄️ Migration Laravel"
|
echo "Migration Laravel"
|
||||||
|
|
||||||
docker compose exec -T app \
|
docker compose exec -T app \
|
||||||
php artisan migrate --force
|
php artisan migrate --force
|
||||||
|
|||||||
Reference in New Issue
Block a user