Commit 8bd73435 authored by Andres Anaya Amariels's avatar Andres Anaya Amariels 🚀
Browse files

prep_ocf_cd_staging

parent 84dc40e7
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -41,7 +41,11 @@ prep_ocf_cd_staging:
  script:
    - |
      echo "### filtering name ###"
      echo $(echo $CI_ENVIRONMENT_SLUG | rev | cut -c 1-6 | rev) > cd_env_endpoint.txt
      echo $CI_COMMIT_REF_SLUG
      CD_ENV_NAME=${CI_COMMIT_REF_SLUG//-/}
      echo $CD_ENV_NAME
      echo $CD_ENV_NAME | rev | cut -c 1-6 | rev
      echo $(echo $CD_ENV_NAME | rev | cut -c 1-6 | rev) > cd_env_endpoint.txt
  artifacts:
    paths:
      - cd_env_endpoint.txt