Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: upload documentation to custom folder #10

Merged
merged 2 commits into from
Sep 18, 2023
Merged

doc: upload documentation to custom folder #10

merged 2 commits into from
Sep 18, 2023

Conversation

seehma
Copy link
Contributor

@seehma seehma commented Sep 18, 2023

Hi,
added a property to be able to manually define the folder where the documentation is located in the repository.
Regards
M.

@bengeisler bengeisler merged commit 64dfffc into bengeisler:zeugwerk-docs Sep 18, 2023
1 check failed
@bengeisler
Copy link
Owner

Thanks for the update!
However, the Action is failing now and I can't see why...
The secrets are still there, the docs folder is pointing to the right folder...

Just to test, I changed the filepath in the workflow file to point to the plc project:

name: Documentation
on:
push:
branches:
- main
paths:
- 'docs/**'
- 'src/**'
pull_request:
workflow_dispatch:
jobs:
Build:
name: Documentation
runs-on: ubuntu-latest
steps:
- name: Build
uses: Zeugwerk/[email protected]
with:
username: ${{ secrets.ACTIONS_ZGWK_USERNAME }}
password: ${{ secrets.ACTIONS_ZGWK_PASSWORD }}
filepath: "src/TcLogProj/TcLog/TcLog.plcproj"
doc-folder: "docs"
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: archive/docs/html

But that change doesn't ripple down to the Action, it seems:
image

Could that be the reason?

@seehma seehma deleted the doc/custom-doc-folder branch September 18, 2023 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants