diff --git a/.circleci/config.yml b/.circleci/config.yml index 4ae9eeb2f3..e2323ff4a8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -154,7 +154,7 @@ jobs: - *setup_bazel_remote_execution - run: bazel test //... --define=compile=aot --build_tag_filters=ivy-aot --test_tag_filters=ivy-aot - test_and_deploy_aio: + test_aio: <<: *job_defaults steps: - *define_env_vars @@ -180,6 +180,15 @@ jobs: - run: xvfb-run --auto-servernum yarn --cwd aio e2e # Run unit tests for Firebase redirects - run: yarn --cwd aio redirects-test + + deploy_aio: + <<: *job_defaults + steps: + - *define_env_vars + - checkout: + <<: *post_checkout + - restore_cache: + key: *cache_key # Deploy angular.io to production (if necessary) - run: echo "export CI_STABLE_BRANCH=$(npm info @angular/core dist-tags.latest | sed -r 's/^\s*([0-9]+\.[0-9]+)\.[0-9]+.*$/\1.x/')" | tee -a $BASH_ENV - run: xvfb-run --auto-servernum yarn --cwd aio deploy-production @@ -388,7 +397,10 @@ workflows: - test_ivy_jit - test_ivy_aot - build-packages-dist - - test_and_deploy_aio + - test_aio + - deploy_aio: + requires: + - test_aio - test_aio_local: requires: - build-packages-dist