Skip to content

Add CD for release version #36

Add CD for release version

Add CD for release version #36

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
- release
jobs:
deploy:
uses: Tina-otoge/infra/.github/workflows/deploy-workflow.yml@master
with:
app: ${{ github.ref == 'refs/heads/release' && 'msnweb' || 'msnweb-demo' }}
webhook_msg: ${{ github.ref == 'refs/heads/main' && 'Démo du site mise à jour. Visitez https://demo.asso-msn.fr/ pour voir les changements.' || 'Version publique du site mise à jour. Visitez https://asso-msn.fr/ pour voir les changements.' }}
secrets:
host: "${{ secrets.DEPLOY_HOST }}"
user: "${{ secrets.DEPLOY_USER }}"
key: "${{ secrets.DEPLOY_KEY }}"
login_user: "${{ secrets.DEPLOY_LOGIN_USER }}"
webhook_url: "${{ secrets.WEBHOOK_URL }}"