Update .gitea/workflows/publish.yml
Some checks failed
Publish collection to Galaxy / publish (push) Has been cancelled
Some checks failed
Publish collection to Galaxy / publish (push) Has been cancelled
This commit is contained in:
@@ -22,12 +22,12 @@ jobs:
|
|||||||
# - uses: actions/gitea-upload-artifact@v3
|
# - uses: actions/gitea-upload-artifact@v3
|
||||||
# with:
|
# with:
|
||||||
# path: /workspace/itik/bgwaf/seb4itik/byow/seb4itik-byow-0.1.2.tar.gz
|
# path: /workspace/itik/bgwaf/seb4itik/byow/seb4itik-byow-0.1.2.tar.gz
|
||||||
- name: Push artifacts
|
# - name: Push artifacts
|
||||||
run: |
|
# run: |
|
||||||
GITEA_REPO_OWNER=$(echo $GITEA_REPOSITORY | cut -d"/" -f1) && \
|
# GITEA_REPO_OWNER=$(echo $GITEA_REPOSITORY | cut -d"/" -f1) && \
|
||||||
GITEA_REPO_NAME=$(echo $GITEA_REPOSITORY | cut -d"/" -f2) && \
|
# GITEA_REPO_NAME=$(echo $GITEA_REPOSITORY | cut -d"/" -f2) && \
|
||||||
curl \
|
# curl \
|
||||||
-X PUT \
|
# -X PUT \
|
||||||
-H "Authorization: token ${{ secrets.CI_GITEA_PACKAGES_TOKEN }}" \
|
# -H "Authorization: token ${{ secrets.CI_GITEA_PACKAGES_TOKEN }}" \
|
||||||
--upload-file seb4itik-byow-${VER}.tar.gz \
|
# --upload-file seb4itik-byow-${VER}.tar.gz \
|
||||||
$GITEA_SERVER_URL/api/packages/${GITEA_REPO_OWNER}/generic/${GITEA_REPO_NAME}/${GITEA_SHA}/seb4itik-byow-${VER}.tar.gz
|
# $GITEA_SERVER_URL/api/packages/${GITEA_REPO_OWNER}/generic/${GITEA_REPO_NAME}/${GITEA_SHA}/seb4itik-byow-${VER}.tar.gz
|
||||||
|
|||||||
Reference in New Issue
Block a user