Skip to content

Commit

Permalink
Try to fix deployment update
Browse files Browse the repository at this point in the history
  • Loading branch information
n1rna committed Jun 20, 2021
1 parent 095f18a commit ba5adac
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/update-deployment.yaml
Expand Up @@ -25,11 +25,11 @@ jobs:
ubiops signin --token -p "$UBIOPS_API_TOKEN"
ubiops version_revisions upload -z deployment.zip -d $DEPLOYMENT_NAME -v $DEPLOYMENT_VERSION
}
git diff --name-only --diff-filter=ADMR @~..@ | grep -q $DEPLOYMENT_DIRECTORY
if [ $? -ne 0 ]; then
echo "Detected changes in deployment ..."
update_deployment
fi
update_deployment
# git diff --name-only --diff-filter=ADMR @~..@ | grep -q $DEPLOYMENT_DIRECTORY
# if [ $? -ne 0 ]; then
# echo "Detected changes in deployment ..."
# fi
- name: Deploy to Github Pages
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down

0 comments on commit ba5adac

Please sign in to comment.