Skip to content

Merge pull request #538 from fab-geocommuns/django_command_pour_tken_ads #228

Merge pull request #538 from fab-geocommuns/django_command_pour_tken_ads

Merge pull request #538 from fab-geocommuns/django_command_pour_tken_ads #228

Workflow file for this run

name: Deploy application on production server
on:
push:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: connect to server with ssh and run commands to deploy
uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: ${{ secrets.SSH_PORT }}
script: cd /srv/RNB-coeur && git pull && docker compose -f docker-compose.prod.yml build --no-cache && docker compose -f docker-compose.prod.yml up -d