github pages ... something is definitely going weird. (#1605)

* fixing typo and dupe command
This commit is contained in:
James Hodgkinson 2023-05-07 20:52:13 +10:00 committed by GitHub
parent 1ab0909f30
commit 0476448305
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -7,6 +7,7 @@ name: GitHub Pages
- "master"
pull_request:
# permissions list: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
permissions:
id-token: write
actions: read
@ -16,6 +17,7 @@ permissions:
issues: read
pull-requests: read
statuses: read
pages: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

View file

@ -55,8 +55,8 @@ jobs:
mkdir -p ./docs/
mv ./*book/book ./docs/${{ inputs.tag }}
mkdir -p ./docs/${{ inputs.tag }}/rustdoc/
mv ./target/doc ./docs/${{ inputs.tag }}/rustdoc
find ./target/doc/ -name .lock -exec rm "{}" \;
mv ./target/doc/* ./docs/${{ inputs.tag }}/rustdoc/
- name: pykanidm docs
run: |
python -m pip install poetry