Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e111f76731 | ||
|
|
5d7d5e6b54 | ||
|
|
bc77462c27 | ||
|
|
4437a1f436 |
@@ -7,10 +7,13 @@ on:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
# Correspond au label 'docker:host' de votre runner
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: 📥 Récupération du code
|
||||
uses: actions/checkout@v4
|
||||
run: |
|
||||
echo "📥 Récupération du code..."
|
||||
git clone --depth 1 --branch ${{ github.ref_name }} "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@git.kevlar.cloud/${{ github.repository }}.git" .
|
||||
|
||||
- name: 🚀 Build et Déploiement Docker
|
||||
run: |
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
name: backendia
|
||||
|
||||
services:
|
||||
backendia:
|
||||
build:
|
||||
@@ -6,7 +8,7 @@ services:
|
||||
container_name: backendia-prod
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:3000:3000"
|
||||
- "3005:3000"
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- PORT=3000
|
||||
|
||||
Reference in New Issue
Block a user