Skip to content

feat(Contact): ajoute le bandeau de service réduit #5388

feat(Contact): ajoute le bandeau de service réduit

feat(Contact): ajoute le bandeau de service réduit #5388

name: Create review app with Clever Cloud
on:
pull_request_target:
types:
- opened
- closed
- synchronize
- reopened
branches:
- staging
jobs:
deploy:
name: Deploy/redeploy review app
if: false # Disable the job until we fix it
runs-on: ubuntu-latest
environment: 'review-apps'
permissions:
issues: write
pull-requests: write
contents: read
steps:
- uses: actions/checkout@v4
if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize' }}
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Create review app
uses: CleverCloud/clever-cloud-review-app@v1.1.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CLEVER_SECRET: ${{ secrets.CLEVER_SECRET }}
CLEVER_TOKEN: ${{ secrets.CLEVER_TOKEN }}
ORGA_ID: ${{ secrets.ORGA_ID }}
GH_CC_PYTHON_VERSION: 3.11
GH_CC_RUN_SUCCEEDED_HOOK: echo "it works!"
GH_CC_PREBUILD_HOOK: ./clevercloud/pre-build-review-app-hook.sh ${{ secrets.ADDON_STAGING_ENV_CONFIG_ID}}
with:
type: 'python'
set-env: true # Enables the command to set env vars on Clever Cloud
# environment: 'review-apps'