Skip to content

Commit 0c7bceb

Browse files
authored
Merge pull request #122 from freeswitch/gha-forks
[GHA] Skip artifacts upload on public forks
2 parents 66a9c2d + dd5d581 commit 0c7bceb

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)