feat: Ajout workflows de déploiement automatique

- Ajout workflow de déploiement sur Render
- Ajout workflow de déploiement sur serveur Linux
- Configuration pour déploiement automatique avec tags
- Prêt pour déploiement en production
This commit is contained in:
Rassaby Ludovic
2025-10-16 13:23:51 +04:00
parent b8d075a2bd
commit 37199521e4
3 changed files with 89 additions and 1 deletions
+31
View File
@@ -0,0 +1,31 @@
name: 🚀 Deploy to Render
on:
push:
tags: [ 'v*' ]
workflow_dispatch:
env:
RENDER_SERVICE_ID: ${{ secrets.RENDER_SERVICE_ID }}
RENDER_API_KEY: ${{ secrets.RENDER_API_KEY }}
jobs:
deploy:
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4
- name: 🚀 Deploy to Render
uses: johnbeynon/render-deploy-action@v0.0.8
with:
service-id: ${{ env.RENDER_SERVICE_ID }}
api-key: ${{ env.RENDER_API_KEY }}
wait-for-success: true
- name: ✅ Deployment successful
run: |
echo "🎉 Application deployed successfully to Render!"
echo "🌐 Your app is now accessible publicly"