Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Commit 383b937

Browse files
authored
Fix AMI prod sync script (#678)
1 parent 8f8e44f commit 383b937

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/prod-sync-ami.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,14 @@ jobs:
99
runs-on: ubuntu-18.04
1010
steps:
1111
- uses: actions/checkout@v1
12+
- name: Required Packages
13+
run: ./release-tools/scripts/required_packages.sh
1214

1315
- name: Getting OD version
1416
run: |
15-
OD_VERSION=`./bin/version-info --od`
17+
OD_VERSION=`./release-tools/scripts/version-info.sh --od`
1618
echo "od_version=$OD_VERSION" >> $GITHUB_ENV
19+
1720
- name: Required Packages
1821
run: ./release-tools/scripts/required_packages.sh
1922
- name: Set AMI from private to public in all regions
@@ -26,7 +29,7 @@ jobs:
2629
aws configure set aws_access_key_id ${{ secrets.AWS_EC2_ACCESS_KEY_ID }}
2730
aws configure set aws_secret_access_key ${{ secrets.AWS_EC2_SECRET_ACCESS_KEY }}
2831
aws configure set region us-east-1
29-
aws configure set cli_pager ""
32+
export AWS_PAGER=""
3033

3134
REGIONS_LIST=`aws ec2 describe-regions --query 'Regions[].RegionName[]' --output text`
3235
for region_name in $REGIONS_LIST

0 commit comments

Comments
 (0)