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