fix: direct pipeline
This commit is contained in:
parent
d4d9f8baf0
commit
508dbab7d4
5
.github/workflows/deploy-ec2.yml
vendored
5
.github/workflows/deploy-ec2.yml
vendored
@ -48,6 +48,11 @@ jobs:
|
|||||||
set -e
|
set -e
|
||||||
cd ${{ env.REMOTE_DIR }}
|
cd ${{ env.REMOTE_DIR }}
|
||||||
|
|
||||||
|
# Repair bad state from previous deploys where this path became a directory.
|
||||||
|
if [ -d "./prisma/init-pgvector.sql" ]; then
|
||||||
|
rm -rf "./prisma/init-pgvector.sql"
|
||||||
|
fi
|
||||||
|
|
||||||
# Unpack latest code snapshot over deploy directory
|
# Unpack latest code snapshot over deploy directory
|
||||||
unzip -oq deploy.zip -d .
|
unzip -oq deploy.zip -d .
|
||||||
rm -f deploy.zip
|
rm -f deploy.zip
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user