File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -84,10 +84,19 @@ jobs:
8484 needs : build
8585 runs-on : ubuntu-latest
8686
87- # Deploy preview for dev branches (not master, not PRs )
87+ # Deploy preview for dev branches (not master, only on direct push )
8888 if : github.ref != 'refs/heads/master' && github.event_name == 'push'
8989
9090 steps :
91+ - name : Debug deployment conditions
92+ run : |
93+ echo "GitHub ref: ${{ github.ref }}"
94+ echo "GitHub ref name: ${{ github.ref_name }}"
95+ echo "Event name: ${{ github.event_name }}"
96+ echo "Is master?: ${{ github.ref == 'refs/heads/master' }}"
97+ echo "Is push?: ${{ github.event_name == 'push' }}"
98+ echo "Should deploy?: ${{ github.ref != 'refs/heads/master' && github.event_name == 'push' }}"
99+
91100 - name : Download Preview Artifact
92101 uses : actions/download-artifact@v4
93102 with :
You can’t perform that action at this time.
0 commit comments