typo fixed #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation | |
on: | |
push: | |
branches: [master, v92, change/v92/testForActions] | |
paths-ignore: | |
- 'imxweb/documentation/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
working-directory: ./imxweb | |
run: npm install | |
- name: Generate documentation for qbm | |
run: npm run doc:qbm | |
working-directory: ./imxweb | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v2 | |
deploy: | |
runs-on: ubuntu-latest | |
env: | |
CI_COMMIT_MESSAGE: Automatic compoDoc documentation | |
CI_COMMIT_AUTHOR: Compodoc Integration Process | |
needs: build | |
steps: | |
- name: GIT Commit Build Artifacts (coverage, dist, devdist, docs) | |
# Only run on main branch push (e.g. pull request merge). | |
if: github.event_name == 'push' | |
run: | | |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" | |
git config --global user.email "[email protected]" | |
git add imxweb/documentation | |
git commit -m "${{ env.CI_COMMIT_MESSAGE }}" | |
git push |