Actualizar .github/workflows/publish-gitea.yml
This commit is contained in:
6
.github/workflows/publish-gitea.yml
vendored
6
.github/workflows/publish-gitea.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
||||
- name: Checkout código
|
||||
uses: actions/checkout@v4
|
||||
env:
|
||||
GIT_CONFIG_PARAMETERS: "'url.http://gitea:3000/.insteadOf=https://git.natxocc.com/'"
|
||||
GIT_CONFIG_PARAMETERS: "'url.http://gitea:3333/.insteadOf=https://git.natxocc.com/'"
|
||||
|
||||
- name: Instalar Bun
|
||||
run: |
|
||||
@@ -21,13 +21,13 @@ jobs:
|
||||
- name: Instalar y Build
|
||||
run: |
|
||||
export PATH="$HOME/.bun/bin:$PATH"
|
||||
git config --global url."http://gitea:3000/".insteadOf "https://git.natxocc.com/"
|
||||
git config --global url."http://gitea:3333/".insteadOf "https://git.natxocc.com/"
|
||||
bun install
|
||||
bun run build
|
||||
|
||||
- name: Configurar Registro y Publicar
|
||||
run: |
|
||||
export PATH="$HOME/.bun/bin:$PATH"
|
||||
REGISTRY="gitea:3000/api/packages/natxocc/npm/"
|
||||
REGISTRY="gitea:3333/api/packages/natxocc/npm/"
|
||||
echo "//${REGISTRY}:_authToken=${{ secrets.PACK_TOKEN }}" > ~/.npmrc
|
||||
npm publish --registry "http://${REGISTRY}" --userconfig ~/.npmrc
|
||||
Reference in New Issue
Block a user