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 149ba89 commit a9c2d05
Showing 1 changed file with 28 additions and 14 deletions.
42 changes: 28 additions & 14 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Documentation
on:
push:
branches: [master, v92, change/v92/testForActions]


jobs:
build:
Expand All @@ -24,23 +23,38 @@ jobs:
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

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2 # or the latest "vX.X.X" version tag for this action
- 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

# env:
# CI_COMMIT_MESSAGE: Automatic compoDoc documentation
# CI_COMMIT_AUTHOR: Compodoc Integration Process
# steps:

# #ToDO: I need to change the repo here

# - name: GIT Commit Documentation
# # 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/doc
# git commit -m "${{ env.CI_COMMIT_MESSAGE }}"
# git push

0 comments on commit a9c2d05

Please sign in to comment.