Skip to content

Commit

Permalink
checkout master in docs action
Browse files Browse the repository at this point in the history
  • Loading branch information
r0x0r committed Aug 30, 2023
1 parent 040cea0 commit 3dbf685
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: master

- name: Merge master into docs
run: |
git config user.name "GitHub Actions"
git config user.email "[email protected]"
# Assuming 'master' is the default branch and 'docs' is the target branch
git checkout docs
git merge master --no-edit
Expand Down

0 comments on commit 3dbf685

Please sign in to comment.