File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 68
68
lib
69
69
node_modules
70
70
71
- - name : Cleanup Generated Branches
72
-
73
- continue-on-error : true
74
- with :
75
- github_token : ${{ secrets.GITHUB_TOKEN }}
76
- branches : gh-pages
77
-
78
71
integration :
79
72
runs-on : ubuntu-latest
80
73
needs : build
@@ -120,7 +113,8 @@ jobs:
120
113
- name : Tweak content to publish to existing branch
121
114
if : ${{ matrix.branch == 'gh-pages' }}
122
115
run : |
123
- echo "<!-- just sayin -->" >> integration/index.html
116
+ RANDOM_CHAR=$(echo $RANDOM | tr -dc 'a-zA-Z0-9' | fold -w 1 | head -n 1)
117
+ echo "<!-- just sayin $RANDOM_CHAR -->" >> integration/index.html
124
118
125
119
- name : Deploy with modifications to existing branch
126
120
id : modified
Original file line number Diff line number Diff line change @@ -101,8 +101,7 @@ export async function generateWorktree(
101
101
'Error encountered while checking out branch. Attempting to continue with a new branch name.'
102
102
)
103
103
branchName = `temp-${ Date . now ( ) } `
104
- checkout . orphan = true
105
- checkout = new GitCheckout ( branchName , `origin/${ action . branch } ` )
104
+ checkout = new GitCheckout ( branchName )
106
105
107
106
await execute (
108
107
checkout . toString ( ) ,
You can’t perform that action at this time.
0 commit comments