Repository: businho/django-migrations-ci (language: python)

Issue:
Example project is broken because django-storages don't read `AWS_S3_*` envs
Ref https://github.com/jschneier/django-storages/issues/1335


Discussion / hints:

Fix patch:
diff --git a/example/example/settings.py b/example/example/settings.py
index 4fb006a..0788a5d 100644
--- a/example/example/settings.py
+++ b/example/example/settings.py
@@ -26,7 +26,7 @@
     }
 }
 
-# AWS credentials (AWS_S3_ACCESS_KEY_ID / AWS_S3_SECRET_ACCESS_KEY) are defined
+# AWS credentials (AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY) are defined
 # in .github/workflows/example-test.yml as environment variables.
 AWS_STORAGE_BUCKET_NAME = "example-migrateci-cache"
 AWS_S3_REGION_NAME = "us-east-2"


Test patch:
diff --git a/.github/workflows/example-test.yml b/.github/workflows/example-test.yml
index 0791aa9..864e13a 100644
--- a/.github/workflows/example-test.yml
+++ b/.github/workflows/example-test.yml
@@ -46,8 +46,8 @@ jobs:
         cd example
         ./manage.py migrateci -v3 --parallel $(nproc)
       env:
-        AWS_S3_ACCESS_KEY_ID: ${{ secrets.AWS_S3_ACCESS_KEY_ID }}
-        AWS_S3_SECRET_ACCESS_KEY: ${{ secrets.AWS_S3_SECRET_ACCESS_KEY }}
+        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_S3_ACCESS_KEY_ID }}
+        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_S3_SECRET_ACCESS_KEY }}
     - name: Test with Django
       run: |
         cd example