Closed singhalkarun closed 5 months ago
Default values if the variable is not provided as repository variable should be as follows:
ENABLE_FORCE_RECREATE=1 DISABLE_REMOVE_ORPHANS=0 DISABLE_ANSI=1 ENABLE_GIT_PULL=1
Accept these variables in https://github.com/Samagra-Development/devops/blob/main/.github/workflows/deploy.yaml and pass as argument to the webhook and use in this file https://github.com/Samagra-Development/devops/blob/main/scripts/webhook/deploy.sh
Disclaimer: If we don't send any value, it will fail as it will be invalid json. So, sending a default value is a must.
Default values if the variable is not provided as repository variable should be as follows:
ENABLE_FORCE_RECREATE=1 DISABLE_REMOVE_ORPHANS=0 DISABLE_ANSI=1 ENABLE_GIT_PULL=1
Accept these variables in https://github.com/Samagra-Development/devops/blob/main/.github/workflows/deploy.yaml and pass as argument to the webhook and use in this file https://github.com/Samagra-Development/devops/blob/main/scripts/webhook/deploy.sh