Skip to content

Commit

Permalink
switch order
Browse files Browse the repository at this point in the history
  • Loading branch information
mxfactorial committed May 5, 2024
1 parent f181ca9 commit 8822350
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy-all-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ env:
ENV_ID: ${{ secrets.DEV_ENV_ID }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
GITHUB_REGISTRY: ghcr.io

jobs:
rule:
Expand Down
4 changes: 2 additions & 2 deletions scripts/deploy-image-job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ ARTIFACTS_BUCKET="$ARTIFACTS_BUCKET_PREFIX-$ID_ENV"
SERVICES_ZIP=$(yq '.scripts.env_var.set.SERVICES_ZIP.default' $PROJECT_CONF)
PROJECT_DIR=$(echo $SERVICES_ZIP | sed 's/.zip//')

source scripts/auth-ecr.sh

aws s3 cp s3://$ARTIFACTS_BUCKET/$SERVICES_ZIP . --region $REGION

unzip $SERVICES_ZIP -d $PROJECT_DIR

cd $PROJECT_DIR

source scripts/auth-ecr.sh

SERVICE_DIR=$(bash scripts/list-dir-paths.sh --type app | grep --color=never $SERVICE_NAME)

cd "$SERVICE_DIR"
Expand Down

0 comments on commit 8822350

Please sign in to comment.