-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8d9ba27
commit a42aa26
Showing
1 changed file
with
15 additions
and
22 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,13 @@ on: | |
branches: [master, v92, change/v92/testForActions] | ||
|
||
jobs: | ||
install: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
pages: write # to deploy to Pages | ||
id-token: write # to verify the deployment originates from an appropriate source | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
@@ -15,25 +20,14 @@ jobs: | |
working-directory: ./imxweb | ||
run: npm install | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
needs: install | ||
strategy: | ||
matrix: | ||
project: [qbm, qer] | ||
steps: | ||
- name: Generate documentation for ${{matrix.project}} | ||
run: npm run doc:${{matrix.project}} | ||
working-directory: imxweb | ||
- name: Generate documentation for qbm | ||
run: npm run doc:qbm | ||
working-directory: ./imxweb | ||
|
||
- name: Generate documentation for qer | ||
run: npm run doc:qer | ||
working-directory: ./imxweb | ||
|
||
copy: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
permissions: | ||
contents: write | ||
pages: write # to deploy to Pages | ||
id-token: write # to verify the deployment originates from an appropriate source | ||
steps: | ||
- name: Checkout doc | ||
uses: actions/checkout@v2 | ||
with: | ||
|
@@ -47,14 +41,13 @@ jobs: | |
- name: Copy files to folder | ||
shell: bash | ||
run: | | ||
rm -r "documentation/v92" | ||
mkdir -p "documentation/v92" | ||
cp -rvT "imxweb/documentation/v92" "documentation/v92" | ||
cp -rvT "imxweb/documentation/v92" documentation/v92" | ||
- name: Commit files to doc repository | ||
id: newFiles | ||
shell: bash | ||
working-directory: documemtation # todo: Struktur festlegen (auch oben) | ||
working-directory: doc-files | ||
run: | | ||
git config --global user.name "Automatic compoDoc documentation" | ||
git config --global user.email "[email protected]" | ||
|