Skip to content

Commit

Permalink
fixing coding typos
Browse files Browse the repository at this point in the history
  • Loading branch information
magnulei committed Oct 23, 2024
1 parent 52dd380 commit 167e5f6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@ jobs:
git add requirements.txt manifest.json
git commit -m "Update requirements and manifest" || echo "No changes to commit"
if [ "${{ env.MODE }}" == "test" ]; then
if [[ "${{ env.MODE }}" == "test" ]]; then
git push origin --force HEAD:test_deploy # Push to test branch
elif [ "${{ env.MODE }}" == "prod" ]; then
elif [[ "${{ env.MODE }}" == "prod" ]]; then
git push origin --force HEAD:deploy # Push to deploy branch
elif [ "${{ env.MODE }}" == "both" ]; then
elif [[ "${{ env.MODE }}" == "both" ]]; then
git push origin --force HEAD:test_deploy # Push to test branch
git push origin --force HEAD:deploy # Push to deploy branch
git push origin --force HEAD:deploy # Push to deploy branch
fi

0 comments on commit 167e5f6

Please sign in to comment.