Cleanup once its pushed

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2023-01-08 19:00:55 +05:30
parent 62833d9d52
commit 1c8a9476e1
Signed by: baalajimaestro
GPG Key ID: F93C394FE9BBAFD5

View File

@ -2,3 +2,4 @@ build-and-push:
stage: build
script:
- docker run -v $(pwd):/app -w /app -e BASE_REPO_TOKEN="$BASE_REPO_TOKEN" -e BASE_REPO_USERNAME="$BASE_REPO_USERNAME" -e CONTENT_REPO_GIT="$CONTENT_REPO_GIT" -e CONTENT_REPO_TOKEN="$CONTENT_REPO_TOKEN" -e CONTENT_REPO_USERNAME="$CONTENT_REPO_USERNAME" -e OUT_DIR="$OUT_DIR" klakegg/hugo:ext-debian-ci sh .build.sh
- docker run -v $(pwd):/app busybox rm -rf /app/content /app/resources