From eb3990b963d6e18f90d931772144f975770cf2f6 Mon Sep 17 00:00:00 2001 From: Sergey Zhemoytel Date: Mon, 6 Jan 2025 18:28:57 +0300 Subject: [PATCH] update deploy --- action.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/action.yml b/action.yml index 97656c8..f3f6e38 100644 --- a/action.yml +++ b/action.yml @@ -124,13 +124,13 @@ runs: local type=$3 if [ "$arch" = "noarch" ]; then - url="${{ github.server_url }}/api/packages/${{ github.repository }}/generic/r11_rpms/noarch/${file}" + url="${{ github.server_url }}/api/packages/${GITHUB_REPOSITORY_OWNER}/generic/r11_rpms/noarch/${file}" else - url="${{ github.server_url }}/api/packages/${{ github.repository }}/generic/r11_rpms/${arch}/${file}" + url="${{ github.server_url }}/api/packages/${GITHUB_REPOSITORY_OWNER}/generic/r11_rpms/${arch}/${file}" fi if [ "$type" = "srpm" ]; then - url="${{ github.server_url }}/api/packages/${{ github.repository }}/generic/r11_rpms/srpms/${file}" + url="${{ github.server_url }}/api/packages/${GITHUB_REPOSITORY_OWNER}/generic/r11_rpms/srpms/${file}" fi curl --user ${{ github.repository_owner }}:${{ inputs.CI_DEPLOY }} \ @@ -174,8 +174,6 @@ runs: - name: Deploy in buildkitie if: github.ref == 'refs/heads/rosa2016.1' - env: - PUBLICATOR: ${{ secrets.PUBLICATOR }} run: | echo "Deploying src artifacts..." for file in /home/builder/rpmbuild/SRPMS/*.rpm; do