Skip to content

Commit

Permalink
Remove self destroy clone selfhosted.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
keosh1 authored Oct 3, 2024
1 parent 86ecc0d commit b9509a3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/selfhosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -577,11 +577,11 @@ jobs:
continue-on-error: true

# Remove 'crave' clone
- name: Destroy Crave Clone
if: ${{ always() }}
run: |
if grep -q "$PROJECTFOLDER" <(crave clone list --json | jq -r '.clones[]."Cloned At"') && [[ "${DCDEVSPACE}" == "1" ]]; then
crave clone destroy -y $PROJECTFOLDER || echo "Error removing $PROJECTFOLDER"
else
echo "Skipping removal"
fi
#- name: Destroy Crave Clone
# if: ${{ always() }}
# run: |
# if grep -q "$PROJECTFOLDER" <(crave clone list --json | jq -r '.clones[]."Cloned At"') && [[ "${DCDEVSPACE}" == "1" ]]; then
# crave clone destroy -y $PROJECTFOLDER || echo "Error removing $PROJECTFOLDER"
# else
# echo "Skipping removal"
# fi

0 comments on commit b9509a3

Please sign in to comment.