Skip to content

Commit

Permalink
workflows: Update selfhosted.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiktodz authored Dec 30, 2024
1 parent b89e98a commit 458fcf2
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/selfhosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -595,13 +595,3 @@ jobs:
cd $PROJECTFOLDER
crave ssh -- "export TG_UPLOAD_LIMIT="${{ secrets.TG_UPLOAD_LIMIT }}"; bash /opt/crave/telegram/upload.sh '${{ github.event.inputs.DEVICE_NAME }}' '${{ secrets.EXTRA_FILES }}'"
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

0 comments on commit 458fcf2

Please sign in to comment.