fixed pre-commit

This commit is contained in:
Yannic Kilcher
2023-01-17 12:22:01 +01:00
parent 4379aadd87
commit 8b291fb29a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -8,4 +8,4 @@ RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2
RUN unzip -q awscliv2.zip
RUN ./aws/install
COPY ./backup_pg_to_s3.sh .
COPY ./backup_pg_to_s3.sh .
+1 -1
View File
@@ -10,4 +10,4 @@ filename="postgres-$(date +%Y-%m-%d_%H-%M-%S).sql"
pg_dump -U postgres postgres > /tmp/$filename
# upload to s3
aws s3 cp /tmp/$filename s3://$S3_BUCKET_NAME/$filename
aws s3 cp /tmp/$filename s3://$S3_BUCKET_NAME/$filename