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
@@ -1,6 +1,3 @@
|
|||||||
Claro, aplica lo mismo que funcionó para `sigpro-ui`:
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
name: Publicar Paquete SigPro (NPM)
|
name: Publicar Paquete SigPro (NPM)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
@@ -40,5 +37,4 @@ jobs:
|
|||||||
export PATH="$HOME/.bun/bin:$PATH"
|
export PATH="$HOME/.bun/bin:$PATH"
|
||||||
REGISTRY="gitea:3333/api/packages/natxocc/npm/"
|
REGISTRY="gitea:3333/api/packages/natxocc/npm/"
|
||||||
echo "//${REGISTRY}:_authToken=${{ secrets.PACK_TOKEN }}" > ~/.npmrc
|
echo "//${REGISTRY}:_authToken=${{ secrets.PACK_TOKEN }}" > ~/.npmrc
|
||||||
npm publish --registry "http://${REGISTRY}" --userconfig ~/.npmrc
|
npm publish --registry "http://${REGISTRY}" --userconfig ~/.npmrc
|
||||||
```
|
|
||||||
Reference in New Issue
Block a user