Skip to content

Commit

Permalink
Update build-and-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Loudbooks authored Dec 10, 2024
1 parent 10285db commit 8d8ac71
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Build and Publish Docker Images

on:
push:
paths:
- frontend/**
- backend/**
# paths:
# - frontend/**
# - backend/**
branches:
- master
- dev
Expand Down Expand Up @@ -45,7 +45,13 @@ jobs:
exit 1
fi
echo "branch_tag=${{ env.tag }}" >> $GITHUB_ENV
- name: Debug Branch and Tags
run: |
echo "Branch name: ${{ github.ref_name }}"
echo "Tag: ${{ env.tag }}"
echo "Branch tag: ${{ env.branch_tag }}"
- name: Build and push frontend Docker image to GHCR
uses: docker/build-push-action@v3
with:
Expand Down

0 comments on commit 8d8ac71

Please sign in to comment.