Skip to content

Commit 214b8c7

Browse files
Update dfg 01 (#805)
* Use updated dfg_01 * Use teragrep action again, add PKG_01_DEPLOY_KEY non-null check for deployment * Fixes workflow syntax * Switches logic to run via env * Remove test skipping
1 parent d5dc7a1 commit 214b8c7

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/upload_release_github_attachment.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,15 @@ jobs:
5151
with:
5252
files: rpm/target/rpm/com.teragrep-pth_10/RPMS/noarch/com.teragrep-pth_10-*.noarch.rpm
5353

54-
- name: Update teragrep/pkg_01 releases repository
55-
uses: teragrep/dfg_01@2.0.0
54+
- name: Update pkg_01 releases repository
55+
uses: teragrep/dfg_01@3.0.0
5656
with:
5757
from_repository: "${{ github.repository }}"
5858
from_version: "${{ github.event.release.tag_name }}"
59-
to_repository: teragrep/pkg_01
59+
to_repository: "${{ github.repository_owner }}/pkg_01"
6060
deploy_key: ${{ secrets.PKG_01_DEPLOY_KEY }}
6161
files: rpm/target/rpm/com.teragrep-pth_10/RPMS/noarch/com.teragrep-pth_10-*.noarch.rpm
62-
if: ${{ startsWith(github.repository, 'teragrep/') }}
62+
gpg_public_key: "${{ secrets.RPM_SIGNING_PUBLIC_KEY }}"
63+
env:
64+
has_deploy_key: ${{ secrets.PKG_01_DEPLOY_KEY != '' }}
65+
if: ${{ env.has_deploy_key }}

0 commit comments

Comments
 (0)