Skip to content

Commit bf23304

Browse files
test rpm publish
1 parent 09122e7 commit bf23304

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/packing.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,10 @@ jobs:
334334
run: make test-pure-install
335335

336336
publish_rpm:
337-
if: startsWith(github.ref, 'refs/tags')
337+
# if: startsWith(github.ref, 'refs/tags')
338+
if: (github.event_name == 'push') ||
339+
(github.event_name == 'pull_request' &&
340+
github.event.pull_request.head.repo.full_name != github.repository)
338341

339342
needs:
340343
- run_tests_rpm
@@ -373,7 +376,7 @@ jobs:
373376
curl -v -LfsS -X PUT $RWS_REPO/release/modules/$OS/$DIST \
374377
-F product=python3-tarantool $(FILE_FLAGS) -u $RWS_AUTH
375378
env:
376-
RWS_REPO: https://rws.tarantool.org
379+
RWS_REPO: https://rws-dev.tarantool.org
377380
RWS_AUTH: ${{ secrets.RWS_AUTH }}
378381
OS: ${{ matrix.target.os }}
379382
DIST: ${{ matrix.target.dist }}

0 commit comments

Comments
 (0)