Skip to content

Commit e04a888

Browse files
committed
fix: push token
1 parent e6428fe commit e04a888

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/release-please.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,8 @@ jobs:
6262
git config --global user.name "github-actions"
6363
git config --global user.email "github-actions@github.com"
6464
65-
REMOTE_URL="https://x-access-token:${{ secrets.PHP_PACKAGE_PUSH_TOKEN }}@github.com/glocurrency/schema-php.git"
66-
67-
git subtree push --prefix=packages/php "$REMOTE_URL" main
68-
69-
TAG="v${{ needs.version.outputs.version }}"
70-
git tag "$TAG"
71-
git push "$REMOTE_URL" "$TAG"
65+
REMOTE="https://x-access-token:${PUSH_TOKEN}@github.com/glocurrency/schema-php.git"
66+
git remote add php-package "$REMOTE"
67+
git subtree push --prefix=packages/php "$REMOTE" main
68+
env:
69+
PUSH_TOKEN: ${{ secrets.PHP_PACKAGE_PUSH_TOKEN }}

0 commit comments

Comments
 (0)