Skip to content

Commit 3ebd09b

Browse files
authored
Don’t do PR previews, which resolves #216 (#396)
1 parent 7898ffe commit 3ebd09b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: Build and push Docker images
4646
uses: docker/build-push-action@v3
4747
with:
48-
push: true
48+
push: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/feature/actions' }}
4949
tags: ${{ steps.meta.outputs.tags }}
5050
labels: ${{ steps.meta.outputs.labels }}
5151

0 commit comments

Comments
 (0)