Skip to content

Commit 7c97a6f

Browse files
committed
Update documentation.yml
Use the access token to ensure that we can write to the repository.
1 parent 4acbc49 commit 7c97a6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ jobs:
5353
run: |
5454
New-Item -Path . -Name root -ItemType Directory
5555
git -C root init
56-
git -C root config --local user.email "[email protected]"
56+
git -C root config --local user.email ${{ github.actor }}@users.noreply.github.com"
5757
git -C root config --local user.email "Saleem Abdulrasool"
58-
git -C root remote add origin git@github.com:compnerd/swift-win32.git
58+
git -C root remote add origin origin https://x-access-token:${{ secrets.PAT }}@github.com/${{ github.repository }}
5959
swift doc generate Sources\SwiftWin32\CG --module-name CoreGraphics --output root\CoreGraphics --format html --base-url https://compnerd.github.io/swift-win32/CoreGraphics
6060
swift doc generate Sources\SwiftWin32 --module-name SwiftWin32 --output root\SwiftWin32 --format html --base-url https://compnerd.github.io/swift-win32/SwiftWin32
6161
swift doc generate Sources\SwiftWin32UI --module-name SwiftWin32UI --output root\SwiftWin32UI --format html --base-url https://compnerd.github.io/swift-win32/SwiftWin32UI

0 commit comments

Comments
 (0)