Skip to content

Commit

Permalink
Update build_and_deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
augustjohnson authored Aug 7, 2023
1 parent 2f8fc1b commit f41bfac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set Docker image tag
run: |
| echo "GITHUB_REF = $GITHUB_REF" > version.py
| echo "GITHUB_SHA = $GITHUB_SHA" >> version.py
|
echo "GITHUB_REF = $GITHUB_REF" > version.py
echo "GITHUB_SHA = $GITHUB_SHA" >> version.py
if [[ $GITHUB_REF == refs/heads/main ]]; then
echo "DOCKER_IMAGE_TAG=latest" >> $GITHUB_ENV
elif [[ $GITHUB_REF == refs/heads/staging ]]; then
Expand Down

0 comments on commit f41bfac

Please sign in to comment.