add: image prune on clean
All checks were successful
Blog Deployment / Check-Rebuild (push) Successful in 5s
Blog Deployment / Build (push) Successful in 9s
Blog Deployment / Deploy-Staging (push) Successful in 9s
Blog Deployment / Test-Staging (push) Successful in 3s
Blog Deployment / Merge (push) Successful in 5s
Blog Deployment / Deploy-Production (push) Successful in 9s
Blog Deployment / Test-Production (push) Successful in 2s
Blog Deployment / Clean (push) Successful in 2s
All checks were successful
Blog Deployment / Check-Rebuild (push) Successful in 5s
Blog Deployment / Build (push) Successful in 9s
Blog Deployment / Deploy-Staging (push) Successful in 9s
Blog Deployment / Test-Staging (push) Successful in 3s
Blog Deployment / Merge (push) Successful in 5s
Blog Deployment / Deploy-Production (push) Successful in 9s
Blog Deployment / Test-Production (push) Successful in 2s
Blog Deployment / Clean (push) Successful in 2s
This commit is contained in:
parent
06e32273d2
commit
ea8297466c
@ -195,5 +195,7 @@ jobs:
|
|||||||
shell: sh
|
shell: sh
|
||||||
steps:
|
steps:
|
||||||
- name: Remove Old Docker Image
|
- name: Remove Old Docker Image
|
||||||
run: docker image rm ${{ needs.Check-Rebuild.outputs.current_docker_image }} --force
|
run: |
|
||||||
|
docker image rm ${{ needs.Check-Rebuild.outputs.current_docker_image }} --force
|
||||||
|
docker image prune -f
|
||||||
|
|
@ -8,6 +8,7 @@ BRANCH="${BRANCH:-preview}"
|
|||||||
CLONE_DIR="${CLONE_DIR:-/blog}"
|
CLONE_DIR="${CLONE_DIR:-/blog}"
|
||||||
DRAFTS=""
|
DRAFTS=""
|
||||||
|
|
||||||
|
|
||||||
# Add drafts for preview
|
# Add drafts for preview
|
||||||
if [ "$BRANCH" = "preview" ]; then
|
if [ "$BRANCH" = "preview" ]; then
|
||||||
echo "- Adding draft pages to be generated"
|
echo "- Adding draft pages to be generated"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user