pkaScope / deploy.sh
tonigi's picture
re-deploying on HF: ce70c26e9ba61f17a06ba774ee3047f2208da874
4319543
raw
history blame contribute delete
287 Bytes
# Commit of parent dir
commitid=$(git -C .. rev-parse HEAD)
# Keep HF Docker build pinned to the exact app commit.
sed -i.bak "s/^ARG APP_COMMIT=.*/ARG APP_COMMIT=${commitid}/" Dockerfile && rm Dockerfile.bak
git add Dockerfile
git commit -m "re-deploying on HF: ${commitid}"
git push