File tree 1 file changed +15
-16
lines changed
1 file changed +15
-16
lines changed Original file line number Diff line number Diff line change 1
1
if ($env: APPVEYOR ) {
2
2
$localFolder = " $env: APPVEYOR_BUILD_FOLDER "
3
- } else {
4
- $localFolder = " ."
5
- }
6
3
7
- git clone https:// github.com / robotdotnet/ robotdotnet.github.io.git origin_site -- depth= 1
4
+ git clone https:// github.com / robotdotnet/ robotdotnet.github.io.git origin_site -- depth= 1
8
5
9
- if ($env: APPVEYOR )
10
- {
11
- git config -- global credential.helper store
12
- Add-Content " $env: USERPROFILE \.git-credentials" " https://$ ( $env: access_token ) :[email protected] `n "
13
- git config -- global user.email $env: op_build_user_email
14
- git config -- global user.name $env: op_build_user
15
- }
6
+ if ($env: APPVEYOR )
7
+ {
8
+ git config -- global credential.helper store
9
+ Add-Content " $env: USERPROFILE \.git-credentials" " https://$ ( $env: access_token ) :[email protected] `n "
10
+ git config -- global user.email $env: op_build_user_email
11
+ git config -- global user.name $env: op_build_user
12
+ }
16
13
17
- Copy-Item origin_site/ .git _site - recurse
18
- CD _site
19
- git add - A 2>&1
20
- git commit - m " CI Website Updates"
21
- git push origin master
14
+ Copy-Item origin_site/ .git _site - recurse
15
+ CD _site
16
+ git add - A 2>&1
17
+ git commit - m " CI Website Updates"
18
+ git push origin master
19
+
20
+ }
You can’t perform that action at this time.
0 commit comments