Skip to content

Commit 5088c05

Browse files
committed
FIX: Archivo build.yml
- Cuando el job "deploy" se lance en un "pull_request", se omitirá todo el job.
1 parent e0bbac2 commit 5088c05

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }}
4545

4646
deploy:
47+
if: ${{ github.event_name != 'pull_request' }}
4748
runs-on: ubuntu-latest
4849
needs: build
4950
steps:
@@ -135,6 +136,7 @@ jobs:
135136
fi
136137
137138
- name: Pushes this Image to the CloudCaptain Vault
139+
if: ${{ github.event_name != 'pull_request' }}
138140
run: |
139141
RESULT=$(${PWD}/boxfuse/boxfuse push $IMAGE_NAME_FUSE_DATE | awk '/ERROR/{print $1}' | sed 's/://')
140142

0 commit comments

Comments
 (0)