Skip to content

Commit

Permalink
different test
Browse files Browse the repository at this point in the history
  • Loading branch information
Martina-Graeber-One-Identity committed Nov 22, 2023
1 parent a9c2d05 commit 707e18d
Showing 1 changed file with 25 additions and 15 deletions.
40 changes: 25 additions & 15 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,29 +19,39 @@ jobs:
run: npm run doc:qbm
working-directory: ./imxweb

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: "imxweb/doc/v92/qbm/"

deploy:
# Specify runner + deployment step
runs-on: ubuntu-latest
# Add a dependency to the build job
needs: build

steps:
- name: deploy changes to a repo
uses: tagus/[email protected]
with:
changes: imxweb/doc/v92/qbm/
repository: [email protected]:OneIdentity/IdentityManager.ImxDoc.git
ssh_key: ${{ secrets.REPO_DEPLOY_KEY }}
name: Compodoc Integration Process
email: [email protected] #maybe using a default later
clean_repo:
true
- name: Checkout doc
uses: actions/checkout@v3
with:
path: 'doc-files'
ref: 'main',
repository: ' IdentityManager.ImxDoc'
token: ${{ secrets.BOT_TOKEN }}
fetch-depth: 0
persist-credentials: true

- name: Copy files to folder
shell: bash
run: |
mkdir -p doc
cp -rvT imxweb/doc/v92 doc"
- name: check for new files
id: newFiles
shell: bash
working-directory: doc-files
run: |
git config --global user.name "Automatic compoDoc documentation"
git config --global user.email "[email protected]"
git add imxweb/doc
git commit -m "${{ Automatic compoDoc documentation }}"
git push
# env:
# CI_COMMIT_MESSAGE: Automatic compoDoc documentation
# CI_COMMIT_AUTHOR: Compodoc Integration Process
Expand Down

0 comments on commit 707e18d

Please sign in to comment.