Always send to google drive (#185)

This commit is contained in:
merwanehamadi
2023-07-23 14:00:57 -07:00
committed by GitHub
parent bf32f67d4e
commit 549d046dc2

View File

@@ -201,9 +201,7 @@ jobs:
git fetch origin $current_branch
git rebase origin/$current_branch
git push origin HEAD
if [ "$current_branch" == "master" ]; then
poetry run python send_to_googledrive.py
fi
poetry run python send_to_googledrive.py || echo "Failed to upload to Google Drive"
env:
GDRIVE_BASE64: ${{ secrets.GDRIVE_BASE64 }}
GITHUB_REF_NAME: ${{ github.ref_name }}