Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
mitch-z committed Jun 6, 2024
1 parent 217c7d1 commit 4cb5713
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,18 @@ jobs:
environment: production

steps:
- name: Get Tag ENV
- name: Set Version ENV
run: echo "VERSION=${GITHUB_REF_NAME}" >> $GITHUB_ENV
- name: Build and Push Docker Image
run: |
echo "Version: ${{ github.ref == 'refs/heads/master' && github.sha || env.VERSION }}"
deploy:
name: Deploy
runs-on: ubuntu-latest
needs: setup-build-publish
environment: production
steps:
- name: Deploy
run: |
echo "Version: ${{ github.ref == 'refs/heads/master' && github.sha || env.VERSION }}"

0 comments on commit 4cb5713

Please sign in to comment.