mirror of
https://tvoygit.ru/Djam/r11_workflows.git
synced 2025-02-24 01:12:45 +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
|
local type=$3
|
||||||
|
|
||||||
if [ "$arch" = "noarch" ]; then
|
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
|
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
|
fi
|
||||||
|
|
||||||
if [ "$type" = "srpm" ]; then
|
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
|
fi
|
||||||
|
|
||||||
curl --user ${{ github.repository_owner }}:${{ inputs.CI_DEPLOY }} \
|
curl --user ${{ github.repository_owner }}:${{ inputs.CI_DEPLOY }} \
|
||||||
|
@ -174,8 +174,6 @@ runs:
|
||||||
|
|
||||||
- name: Deploy in buildkitie
|
- name: Deploy in buildkitie
|
||||||
if: github.ref == 'refs/heads/rosa2016.1'
|
if: github.ref == 'refs/heads/rosa2016.1'
|
||||||
env:
|
|
||||||
PUBLICATOR: ${{ secrets.PUBLICATOR }}
|
|
||||||
run: |
|
run: |
|
||||||
echo "Deploying src artifacts..."
|
echo "Deploying src artifacts..."
|
||||||
for file in /home/builder/rpmbuild/SRPMS/*.rpm; do
|
for file in /home/builder/rpmbuild/SRPMS/*.rpm; do
|
||||||
|
|
Loading…
Add table
Reference in a new issue