Skip to content

Dynamically generate Insta and X URLs #37

Dynamically generate Insta and X URLs

Dynamically generate Insta and X URLs #37

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 }}"