Skip to content

Commit 9502318

Browse files
Workflow - update push command
1 parent fef447d commit 9502318

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/autogen-docs.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
schedule:
55
- cron: '45 10 * * TUE'
66
- cron: '45 10 * * THU'
7-
- cron: '20 15 * * FRI'
7+
- cron: '55 15 * * FRI'
88
jobs:
99
autogen-docs:
1010
runs-on: macos-latest
@@ -16,8 +16,6 @@ jobs:
1616
steps:
1717
- name: Check out repository
1818
uses: actions/checkout@v4
19-
with:
20-
ref: autogen-docs-1
2119
- name: Make the script file executable
2220
run: |
2321
echo "Making script file executable"
@@ -39,7 +37,8 @@ jobs:
3937
echo "Committing and pushing changes to autogen-docs branch"
4038
git config user.name github-actions
4139
git config user.email [email protected]
40+
git checkout -b autogen-docs
4241
git add ../.
4342
git commit -m "Automatically generated docs"
44-
git push
43+
git push --set-upstream origin autogen-docs
4544

0 commit comments

Comments
 (0)