mirror of
https://tvoygit.ru/Djam/r11_workflows.git
synced 2025-02-23 17:02:46 +00:00
update deploy
This commit is contained in:
parent
53fb334d1a
commit
eb3990b963
1 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue