remove GH_TOKEN env var and use secretly directly

This commit is contained in:
Julio Estrada
2025-11-20 16:43:48 -05:00
parent 9af11d32e3
commit 57b9ae3d20

View File

@@ -60,15 +60,11 @@ jobs:
fi
- name: Trigger website-v2-docs ui-release workflow
if: success()
env:
GH_TOKEN: ${{ secrets.WEBSITE_V2_PAT }}
run: |
echo "$GH_TOKEN" | gh auth login --with-token
echo "${{ secrets.WEBSITE_V2_PAT }}" | gh auth login --with-token
gh workflow run ui-release.yml --repo boostorg/website-v2-docs --ref develop
- name: Trigger website-v2-docs publish workflow
if: success()
env:
GH_TOKEN: ${{ secrets.WEBSITE_V2_PAT }}
run: |
echo "$GH_TOKEN" | gh auth login --with-token
echo "${{ secrets.WEBSITE_V2_PAT }}" | gh auth login --with-token
gh workflow run publish.yml --repo boostorg/website-v2-docs --ref develop