Skip to content

Commit

Permalink
/deploy sit
Browse files Browse the repository at this point in the history
  • Loading branch information
sliu008 committed Jan 7, 2025
1 parent 6ff5ec9 commit d8859be
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
fi
echo "new_version=${new_version}" >> $GITHUB_OUTPUT
echo "new_version=${new_version}" >> $GITHUB_ENV
poetry version ${new_version}
- name: Install Dependencies and Run Tests
Expand Down Expand Up @@ -121,7 +122,7 @@ jobs:
git tag -a "${VERSION}" -m "Version ${VERSION}"
git push origin "${VERSION}"
- name: Create Zip release
- name: Create Zip Release
run: |
ls -al
cd terraform
Expand Down Expand Up @@ -246,7 +247,7 @@ jobs:
# Override source if deploying (find .whl file in dist/)
if [[ "${{ contains(github.event.head_commit.message, '/deploy sit') ||
contains(github.event.head_commit.message, '/deploy uat') }}" == "true" ]]; then
contains(github.event.head_commit.message, '/deploy uat') }}" == "true" ]]; then
local_forge_py=$(find dist -type f -name "*.whl")
echo "SOURCE=${local_forge_py}" >> $GITHUB_ENV
echo "DIST_PATH=dist/" >> $GITHUB_ENV
Expand Down

0 comments on commit d8859be

Please sign in to comment.