File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
document :
10
+ if : ${{ github.repository == 'compnerd/swift-win32' }}
10
11
runs-on : windows-latest
11
12
12
13
steps :
@@ -52,10 +53,12 @@ jobs:
52
53
run : |
53
54
New-Item -Path . -Name root -ItemType Directory
54
55
git -C root init
55
- git -C root set-remote origin [email protected] :compnerd/swift-win32.git
56
- swift doc generate Sources\SwiftWin32\CoreGraphics --module-name CoreGraphics --output root\CoreGraphics --format html --base-url https://compnerd.github.io/swift-win32/CoreGraphics
56
+ git -C root config --local user.email "[email protected] "
57
+ git -C root config --local user.email "Saleem Abdulrasool"
58
+ git -C root remote add origin [email protected] :compnerd/swift-win32.git
59
+ swift doc generate Sources\SwiftWin32\CG --module-name CoreGraphics --output root\CoreGraphics --format html --base-url https://compnerd.github.io/swift-win32/CoreGraphics
57
60
swift doc generate Sources\SwiftWin32 --module-name SwiftWin32 --output root\SwiftWin32 --format html --base-url https://compnerd.github.io/swift-win32/SwiftWin32
58
61
swift doc generate Sources\SwiftWin32UI --module-name SwiftWin32UI --output root\SwiftWin32UI --format html --base-url https://compnerd.github.io/swift-win32/SwiftWin32UI
59
- git -C root add .
62
+ git -C root add --all
60
63
git -C root commit -m "refresh content"
61
- git -C root push origin "+HEAD:gh-pages"
64
+ git -C root push origin "+HEAD:refs/heads/ gh-pages"
You can’t perform that action at this time.
0 commit comments