Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e111f76731 | ||
|
|
5d7d5e6b54 | ||
|
|
bc77462c27 | ||
|
|
4437a1f436 |
@@ -7,10 +7,13 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
# Correspond au label 'docker:host' de votre runner
|
||||||
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
- name: 📥 Récupération du code
|
- 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
|
- name: 🚀 Build et Déploiement Docker
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
name: backendia
|
||||||
|
|
||||||
services:
|
services:
|
||||||
backendia:
|
backendia:
|
||||||
build:
|
build:
|
||||||
@@ -6,7 +8,7 @@ services:
|
|||||||
container_name: backendia-prod
|
container_name: backendia-prod
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:3000:3000"
|
- "3005:3000"
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
- PORT=3000
|
- PORT=3000
|
||||||
|
|||||||
Reference in New Issue
Block a user