CI: Fix deploy

This commit is contained in:
rodrigo.zamboni
2022-03-24 12:08:08 -03:00
parent 1f1660cdf2
commit 3bbd48894b
3 changed files with 19 additions and 11 deletions
-5
View File
@@ -50,22 +50,18 @@ jobs:
if: steps.semantic.outputs.new_release_published == 'true'
run: |
python3 -m pip install --upgrade pip
ls -a
- name: Install Docker Compose
if: steps.semantic.outputs.new_release_published == 'true'
run: |
python3 -m pip install docker-compose --upgrade
ls -a
- name: Install AWS CLI
if: steps.semantic.outputs.new_release_published == 'true'
run: |
python3 -m pip install awscli --upgrade
ls -a
- name: Install AWS Elastic Beanstalk CLI
if: steps.semantic.outputs.new_release_published == 'true'
run: |
python3 -m pip install awsebcli --upgrade
ls -a
- name: Configure AWS Region
if: steps.semantic.outputs.new_release_published == 'true'
uses: aws-actions/configure-aws-credentials@v1
@@ -76,7 +72,6 @@ jobs:
if: steps.semantic.outputs.new_release_published == 'true'
shell: bash
run: |
ls -a
if [ ${GITHUB_REF} == "refs/heads/main" ]; then
echo "##[set-output name=result;]$(echo "production")"
else