Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mkosunen committed Jan 22, 2024
1 parent 1759bd4 commit ea7a7f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Documentation builder action
run: cd doc && make html && cd .. && rm -rf ./docs && mv doc/build/html ./docs/ && touch ./docs/.nojekyll && touch ./docs/.gitignore
run: cd doc && make html && cd .. && touch ./doc/build/html/.nojekyll
- name: GIT commit and push documentation
env:
CI_COMMIT_MESSAGE: Continuous Integration documentation update
Expand All @@ -34,7 +34,7 @@ jobs:
git config --global --add safe.directory /__w/inverter/inverter
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "${GITHUB_ACTOR}@noreply.github.com"
git add docs \
git add doc \
&& git commit -m "${{ env.CI_COMMIT_MESSAGE }}" \
&& git push \
|| echo "Nothing to update"
Expand All @@ -59,7 +59,7 @@ jobs:
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: './docs'
path: './doc/build/html'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
Expand Down

0 comments on commit ea7a7f3

Please sign in to comment.