Skip to content

Commit

Permalink
updated build for publish to branch
Browse files Browse the repository at this point in the history
  • Loading branch information
JanssenBrm committed Aug 6, 2024
1 parent cc13f6b commit 304aa72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
name: build-folder
path: "_build"

deploy-documentation:
deploy-documentation-ghpages:
runs-on: ubuntu-latest
needs: build-documentation
permissions:
Expand All @@ -67,7 +67,7 @@ jobs:
git config --local user.email "[email protected]"
git config --local user.name "Github Actions"
- name: Create git subtree
run: git subtree add --prefix _build origin docportal
run: git subtree add --prefix _build -b docportal

- name: Download build folder
uses: actions/download-artifact@v3
Expand All @@ -76,4 +76,4 @@ jobs:
path: _build

- name: Commit
run: git add _build && git commit -m "build - production deploy" && git subtree push --prefix _build origin docportal
run: git add _build && git commit -m "build - production deploy" && git subtree push --prefix _build origin docportal --force

0 comments on commit 304aa72

Please sign in to comment.