Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: separate dev<-> preprod and main<-> prod environments #116

Merged
merged 2 commits into from
Mar 12, 2025

Conversation

maxbellec
Copy link
Contributor

No description provided.

Copy link
Member

@ludovicdmt ludovicdmt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merci!

Comment on lines +1 to +26
name: Deploy Showcase iarbre.fr website

on:
push:
branches:
- main
pull_request:
branches:
- main
types:
- closed

jobs:
deploy-prod:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
runs-on: ubuntu-22.04
steps:
- name: Deploy showcase
uses: dawidd6/action-ansible-playbook@v2
with:
playbook: showcase.yml
directory: deploy
vault_password: ${{secrets.ANSIBLE_VAULT_KEY}}
options: |
-l prod
key: ${{ secrets.SSH_PRIVATE_KEY }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ca me va bien de séparer le site statique de la carto dans le deploy

@ludovicdmt ludovicdmt linked an issue Mar 12, 2025 that may be closed by this pull request
@ludovicdmt
Copy link
Member

Je suis aussi favorable au commentaire de MA dans #107 :

On fait des merge requests de dev sur main lorsqu’on souhaite "faire une mise en production". On aura alors validé les tests automatiques voire des tests + actions manuelles supplémentaires (par ex. publier un changelog).

@maxbellec maxbellec merged commit f78b230 into dev Mar 12, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ETQ dev je veux un process de passage prep-prod -> prod
2 participants