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
+19
View File
@@ -0,0 +1,19 @@
branch-defaults:
alpha:
environment: null
global:
application_name: maestro
branch: null
default_ec2_keyname: null
default_platform: Docker running on 64bit Amazon Linux 2
default_region: us-east-1
include_git_submodules: true
instance_profile: null
platform_name: null
platform_version: null
profile: null
repository: null
sc: git
workspace_type: Application
deploy:
artifact: deploy.zip
-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
-6
View File
@@ -37,10 +37,4 @@ lerna-debug.log*
# Ignore .env files
*.env
# Elastic Beanstalk Files
.elasticbeanstalk/*
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml
.env