mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-10-29 12:40:08 +08:00
fixed pre-commit
This commit is contained in:
1 parent
4379aadd87
commit
8b291fb29a
2 files changed
+2
-2
No files matched your search
@@ -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 .
|
||||
@@ -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
|
||||
Reference in new issue
Block a user