Skip to content

Commit dd5d581

Browse files
committed
[GHA] Skip artifacts upload on public forks
1 parent 66a9c2d commit dd5d581

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
META_FILE_PATH_PREFIX: /var/www/spandsp/public/unstable/${{ github.ref_name }}/${{ github.run_id }}-${{ github.run_number }}
4545
PLATFORM: ${{ matrix.platform.name }}
4646
TARGET_ARTIFACT_NAME: ${{ matrix.os }}-${{ matrix.version }}-${{ matrix.platform.name }}-public-unstable-artifact
47-
UPLOAD_BUILD_ARTIFACTS: ${{ github.event_name != 'pull_request' }}
47+
UPLOAD_BUILD_ARTIFACTS: ${{ github.event_name != 'pull_request' && github.repository == 'freeswitch/spandsp' }}
4848
secrets:
4949
GH_BOT_DEPLOY_TOKEN: ${{ secrets.PAT }}
5050
HOSTNAME: ${{ secrets.HOSTNAME }}

0 commit comments

Comments
 (0)