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 350fe17 commit 3ef9e00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Documentation builder action
run: cd doc && make html && cd .. && cp -r doc/build/html/* ./docs/ && touch ./docs/.nojekyll
run: cd doc && make html && cd .. && rm -rf ./docs && mv doc/build/html ./docs/ && touch ./docs/.nojekyll && touch ./docs/.gitignore
- name: GIT commit and push documentation
env:
CI_COMMIT_MESSAGE: Continuous Integration documentation update
CI_COMMIT_AUTHOR: Continuous Integration
run: 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 commit -m "${{ env.CI_COMMIT_MESSAGE }}" && git push
run: 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 commit -m "${{ env.CI_COMMIT_MESSAGE }}" && git push

0 comments on commit 3ef9e00

Please sign in to comment.