Skip to content

Commit

Permalink
Fix variable name in restore.
Browse files Browse the repository at this point in the history
  • Loading branch information
casey-rapnicki-bixal committed Apr 17, 2024
1 parent 4f27b12 commit 3ac8f41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/database-restore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
CF_USER: '${{ secrets.CF_USER }}'
CF_PASSWORD: '${{ secrets.CF_PASSWORD }}'
CF_ORG: '${{ secrets.CF_ORG }}'
project: '${{ secrets.project }}'
PROJECT: '${{ secrets.PROJECT }}'
run: |
export S3_FILE_PATH=${{ github.event.inputs.database_file_override }}
source ./scripts/pipeline/cloud-gov-login.sh
Expand Down
4 changes: 2 additions & 2 deletions scripts/local/cloud-gov-s3-creds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ if [ -z "${bucket_name}" ]; then
echo -e "Error: No bucket name is set!\n"
echo -e "Export the bucket name, found with 'cf services | grep s3', then run the script again."
echo -e "This is the name of the bucket in cloud.gov, not the AWS bucket name.\n"
echo -e "Example usage:\n\texport bucket_name=project-bucket-name-environment\n\t$0"
exit 1
echo -e "Example usage:\n\texport bucket_name=project-bucket-name-environment\n\t$0\n"
return
fi

echo "Getting bucket credentials..."
Expand Down

0 comments on commit 3ac8f41

Please sign in to comment.