1
0
mirror of https://github.com/alexandrev/xslt-lab.git synced 2026-09-20 04:23:16 +00:00

login changed

This commit is contained in:
2025-07-04 09:55:21 +02:00
parent dacfc3c4d0
commit 7cd475d06d
-2
View File
@@ -38,7 +38,6 @@ jobs:
OWNER: ${{ github.repository_owner }} OWNER: ${{ github.repository_owner }}
PACKAGE: xslt-playground-backend PACKAGE: xslt-playground-backend
run: | run: |
echo "$GH_TOKEN" | gh auth login --with-token
if gh api orgs/$OWNER > /dev/null 2>&1; then if gh api orgs/$OWNER > /dev/null 2>&1; then
gh api -X PATCH /orgs/$OWNER/packages/container/$PACKAGE --field visibility=public gh api -X PATCH /orgs/$OWNER/packages/container/$PACKAGE --field visibility=public
else else
@@ -58,7 +57,6 @@ jobs:
OWNER: ${{ github.repository_owner }} OWNER: ${{ github.repository_owner }}
PACKAGE: xslt-playground-frontend PACKAGE: xslt-playground-frontend
run: | run: |
echo "$GH_TOKEN" | gh auth login --with-token
if gh api orgs/$OWNER > /dev/null 2>&1; then if gh api orgs/$OWNER > /dev/null 2>&1; then
gh api -X PATCH /orgs/$OWNER/packages/container/$PACKAGE --field visibility=public gh api -X PATCH /orgs/$OWNER/packages/container/$PACKAGE --field visibility=public
else else