only use owner, not repo

This commit is contained in:
jona.klaess
2026-06-04 20:37:53 +02:00
parent c165686c4e
commit 9e8cc98e0e

View File

@@ -37,15 +37,15 @@ jobs:
- name: Create .npmrc - name: Create .npmrc
run: | run: |
mkdir -p ~/.npm mkdir -p ~/.npm
echo "registry=https://gitea.controller.bittehackmichnicht.de/api/packages/${{ github.repository }}/npm/" > ~/.npmrc echo "registry=https://gitea.controller.bittehackmichnicht.de/api/packages/apps/npm/" > ~/.npmrc
echo "//gitea.controller.bittehackmichnicht.de/api/packages/${{ github.repository }}/npm/:_authToken=${{ secrets.GITEA_TOKEN }}" >> ~/.npmrc echo "//gitea.controller.bittehackmichnicht.de/api/packages/apps/npm/:_authToken=${{ secrets.GITEA_TOKEN }}" >> ~/.npmrc
- name: Build & publish npm package - name: Build & publish npm package
env: env:
VERSION: ${{ steps.generate_tag.outputs.VERSION }} VERSION: ${{ steps.generate_tag.outputs.VERSION }}
run: | run: |
npm version $VERSION --no-git-tag-version npm version $VERSION --no-git-tag-version
npm run build npm run build
npm publish --registry https://gitea.controller.bittehackmichnicht.de/api/packages/${{ github.repository }}/npm/ --tag alpha npm publish --registry https://gitea.controller.bittehackmichnicht.de/api/packages/apps/npm/ --tag alpha
- name: Build & publish image - name: Build & publish image
env: env:
TAG: ${{ steps.generate_tag.outputs.TAG }} TAG: ${{ steps.generate_tag.outputs.TAG }}