Skip to content

Commit

Permalink
try another comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
mashehu committed Jul 3, 2024
1 parent 8393dbd commit 88361b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/netlify-deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: get changed sub-site
id: get_changed_subsite
run: |
CHANGED_DIRECTORY=$(git diff --name-only ${{ github.base_ref }}...${{ github.head_ref }} | grep -E 'sites/(main-site|docs)' | head -n1 | cut -d'/' -f2)
CHANGED_DIRECTORY=$(git diff --name-only ${{ github.base_ref }}...HEAD | grep -E 'sites/(main-site|docs)' | head -n1 | cut -d'/' -f2)
outputs:
changed_directory: ${{ env.CHANGED_DIRECTORY }}

Expand Down

0 comments on commit 88361b7

Please sign in to comment.