Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel86 committed Sep 8, 2024
1 parent 70e3e88 commit 680ede3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ jobs:
run: |
cd knowrob/build
make doc
#- name: Move checkout
# run: |
## mv $GITHUB_WORKSPACE/knowrob/src/.git $GITHUB_WORKSPACE/
# mv $GITHUB_WORKSPACE/knowrob/src/* $GITHUB_WORKSPACE/
- name: Extract version tag
if: github.event_name == 'release'
shell: bash
Expand All @@ -69,6 +65,10 @@ jobs:
shell: bash
# Use branch name as version
run: echo "KNOWROB_DOCU_VERSION=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_ENV
- name: Move checkout
run: |
mv $GITHUB_WORKSPACE/knowrob/src/.git $GITHUB_WORKSPACE/
mv $GITHUB_WORKSPACE/knowrob/src/* $GITHUB_WORKSPACE/
- name: Deploy doc to gh-pages
if: github.event_name == 'push' || github.event_name == 'release'
uses: JamesIves/[email protected]
Expand All @@ -79,7 +79,7 @@ jobs:
# The branch the action should deploy to.
BRANCH: gh-pages
# The folder the action should deploy.
FOLDER: knowrob/src/doc/html
FOLDER: doc/html
# The folder in the target branch
TARGET_FOLDER: ${{ env.KNOWROB_DOCU_VERSION }}
CLEAN: true
Expand Down

0 comments on commit 680ede3

Please sign in to comment.