We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e8b9be commit 213e0e5Copy full SHA for 213e0e5
1 file changed
.github/workflows/build-and-deploy.yml
@@ -17,6 +17,8 @@ concurrency:
17
jobs:
18
build:
19
runs-on: ubuntu-latest
20
+ env:
21
+ ANTORA_GITHUB_TOKEN: ${{ secrets.ANTORA_GITHUB_TOKEN }}
22
steps:
23
- name: Checkout repository
24
uses: actions/checkout@v5
@@ -49,6 +51,9 @@ jobs:
49
51
working-directory: ./site
50
52
run: pnpm install
53
54
+ - name: Configure git to use the token for GitHub
55
+ run: git config --global url."https://${ANTORA_GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"
56
+
57
- name: Build Antora site
58
59
run: pnpm exec antora --stacktrace antora-playbook.yml
0 commit comments