Add owner and repo fields
This commit is contained in:
@@ -8,6 +8,12 @@ inputs:
|
||||
token:
|
||||
description: 'Gitea PAT'
|
||||
required: true
|
||||
owner:
|
||||
description: 'account or org to publish to'
|
||||
default: 'packages'
|
||||
repo:
|
||||
description: 'destination db'
|
||||
default: 'microverse'
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
@@ -22,7 +28,7 @@ runs:
|
||||
echo '📤️ Uploading package to ${{ gitea.server_url }} ...'
|
||||
curl -f --user \"\$username:\$token\" \
|
||||
--upload-file ./*.tar.zst \
|
||||
'${{ gitea.server_url }}/api/packages/packages/arch/microverse'
|
||||
'${{ gitea.server_url }}/api/packages/${{ inputs.owner }}/arch/${{ inputs.repo }}'
|
||||
" > "./post-entrypoint.sh"
|
||||
chmod +x "./post-entrypoint.sh"
|
||||
git config --global user.name 'Guy Incognito'
|
||||
|
||||
Reference in New Issue
Block a user